{"hash":"0x67995318F5FAA496","ns":"VEHICLE","name":"_GET_TRAIN_DIRECTION_FROM_INDEX","slug":"_GET_TRAIN_DIRECTION_FROM_INDEX","official":false,"named":true,"luaName":"GetTrainDirectionFromIndex","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"trackIndex","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"https://i.imgur.com/1rHibjW.jpg"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_TRAIN_DIRECTION_FROM_INDEX","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_TRAIN_DIRECTION_FROM_INDEX.md","snippets":{"lua":"local retval = GetTrainDirectionFromIndex(trackIndex)","luaInvoke":"local retval = Citizen.InvokeNative(0x67995318F5FAA496, trackIndex, Citizen.ReturnResultAnyway())","js":"const retval = GetTrainDirectionFromIndex(trackIndex);","jsInvoke":"const retval = Citizen.invokeNative('0x67995318F5FAA496', trackIndex, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x67995318F5FAA496, trackIndex);","notes":["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."]}}