{"hash":"0x785639D89F8451AB","ns":"VEHICLE","name":"_GET_JUNCTION_COORDS_FOR_TRAIN_TRACK","slug":"_GET_JUNCTION_COORDS_FOR_TRAIN_TRACK","official":false,"named":true,"luaName":"GetJunctionCoordsForTrainTrack","game":"rdr3","apiset":"client","returnType":"Vector3","params":[{"name":"trainTrack","type":"Hash"},{"name":"junctionIndex","type":"int"}],"summary":"Returns the world coordinates of a junction node for the given train track configuration.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns the world coordinates of a junction node for the given train track configuration.\ntrainTrack: see 0x09034479E6E3E269."},{"source":"vorp","format":"text","body":"Returns the world coordinates of a junction node for the given train track configuration. trainTrack: see _RETURN_TRAIN_INFO_FROM_HANDLE."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or","vorp"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_JUNCTION_COORDS_FOR_TRAIN_TRACK","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_JUNCTION_COORDS_FOR_TRAIN_TRACK.md","snippets":{"lua":"local retval = GetJunctionCoordsForTrainTrack(trainTrack, junctionIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0x785639D89F8451AB, trainTrack, junctionIndex, Citizen.ResultAsVector())","js":"const retval = GetJunctionCoordsForTrainTrack(trainTrack, junctionIndex);","jsInvoke":"const retval = Citizen.invokeNative('0x785639D89F8451AB', trainTrack, junctionIndex, Citizen.returnResultAnyway(), Citizen.resultAsVector());","csharp":"Vector3 retval = Function.Call<Vector3>((Hash)0x785639D89F8451AB, trainTrack, junctionIndex);","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."]}}