{"hash":"0x2FB0ACADA6A238DD","ns":"PLAYER","name":"IS_PLAYER_RIDING_TRAIN","slug":"IS_PLAYER_RIDING_TRAIN","official":true,"named":true,"luaName":"IsPlayerRidingTrain","game":"rdr3","apiset":"client","returnType":"BOOL","params":[{"name":"player","type":"Player"}],"summary":"Returns true if the player is riding a train.","descriptions":[{"source":"alloc8or","format":"text","body":"Returns true if the player is riding a train."}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x4EC12697209F2196","gtaJhash":"0x9765E71D","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PLAYER/IS_PLAYER_RIDING_TRAIN","markdownUrl":"https://natives.borderlinerp.com/natives/PLAYER/IS_PLAYER_RIDING_TRAIN.md","snippets":{"lua":"local retval = IsPlayerRidingTrain(player)","luaInvoke":"local retval = Citizen.InvokeNative(0x2FB0ACADA6A238DD, player, Citizen.ReturnResultAnyway())","js":"const retval = IsPlayerRidingTrain(player);","jsInvoke":"const retval = Citizen.invokeNative('0x2FB0ACADA6A238DD', player, Citizen.returnResultAnyway());","csharp":"bool retval = Function.Call<bool>((Hash)0x2FB0ACADA6A238DD, player);","notes":[]}}