{"hash":"0x3C9628A811CBD724","ns":"VEHICLE","name":"_GET_TRAIN_DIRECTION","slug":"_GET_TRAIN_DIRECTION","official":false,"named":true,"luaName":"GetTrainDirection","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"train","type":"Vehicle"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_TRAIN_DIRECTION","markdownUrl":"https://natives.borderlinerp.com/natives/VEHICLE/_GET_TRAIN_DIRECTION.md","snippets":{"lua":"local retval = GetTrainDirection(train)","luaInvoke":"local retval = Citizen.InvokeNative(0x3C9628A811CBD724, train, Citizen.ReturnResultAnyway())","js":"const retval = GetTrainDirection(train);","jsInvoke":"const retval = Citizen.invokeNative('0x3C9628A811CBD724', train, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x3C9628A811CBD724, train);","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."]}}