{"hash":"0xE6C5E2125EB210C1","ns":"VEHICLE","name":"_SET_TRAIN_TRACK_JUNCTION_SWITCH","slug":"_SET_TRAIN_TRACK_JUNCTION_SWITCH","official":false,"named":true,"luaName":"SetTrainTrackJunctionSwitch","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"trainTrack","type":"Hash"},{"name":"junctionIndex","type":"int"},{"name":"enabled","type":"BOOL"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"trainTrack: see 0x09034479E6E3E269."},{"source":"vorp","format":"text","body":"trainTrack: FREIGHT_GROUP, TRAINS3, BRAITHWAITES2_TRACK_CONFIG, TRAINS_OLD_WEST01, TRAINS_OLD_WEST03, TRAINS_NB1, TRAINS_INTERSECTION1_ANN"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_SET_TRAIN_TRACK_JUNCTION_SWITCH","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_SET_TRAIN_TRACK_JUNCTION_SWITCH.md","snippets":{"lua":"SetTrainTrackJunctionSwitch(trainTrack, junctionIndex, enabled)","luaInvoke":"Citizen.InvokeNative(0xE6C5E2125EB210C1, trainTrack, junctionIndex, enabled)","js":"SetTrainTrackJunctionSwitch(trainTrack, junctionIndex, enabled);","jsInvoke":"Citizen.invokeNative('0xE6C5E2125EB210C1', trainTrack, junctionIndex, enabled);","csharp":"Function.Call((Hash)0xE6C5E2125EB210C1, trainTrack, junctionIndex, enabled);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"name\")` or a backtick literal like `` `name` ``.","The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works."]}}