{"hash":"0x0A11F3BDEC03ED5F","ns":"TASK","name":"TASK_DISEMBARK_NEAREST_TRAIN_CARRIAGE","slug":"TASK_DISEMBARK_NEAREST_TRAIN_CARRIAGE","official":true,"named":true,"luaName":"TaskDisembarkNearestTrainCarriage","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"p1","type":"float"},{"name":"flags","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"flags: See TASK_ENTER_VEHICLE"}],"examples":[],"aliases":[],"enums":["eEnterExitVehicleFlags"],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/TASK/TASK_DISEMBARK_NEAREST_TRAIN_CARRIAGE","markdownUrl":"https://natives.borderlinerp.com/natives/TASK/TASK_DISEMBARK_NEAREST_TRAIN_CARRIAGE.md","snippets":{"lua":"TaskDisembarkNearestTrainCarriage(ped, p1, flags)","luaInvoke":"Citizen.InvokeNative(0x0A11F3BDEC03ED5F, ped, p1, flags)","js":"TaskDisembarkNearestTrainCarriage(ped, p1, flags);","jsInvoke":"Citizen.invokeNative('0x0A11F3BDEC03ED5F', ped, p1 + 0.0000001, flags);","csharp":"Function.Call((Hash)0x0A11F3BDEC03ED5F, ped, p1, flags);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}