{"hash":"0x7B1141C6","ns":"CFX","name":"TASK_LEAVE_VEHICLE","slug":"TASK_LEAVE_VEHICLE","official":true,"named":true,"luaName":"TaskLeaveVehicle","game":"cfx","apiset":"server","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"vehicle","type":"Vehicle"},{"name":"flags","type":"int"}],"summary":"Flags from decompiled scripts: Others to be tried out: 320, 512, 131072.","descriptions":[{"source":"cfx","format":"md","body":"```\nFlags from decompiled scripts:\n0 = normal exit and closes door.\n1 = normal exit and closes door.\n16 = teleports outside, door kept closed.  (This flag does not seem to work for the front seats in buses, NPCs continue to exit normally)\n64 = normal exit and closes door, maybe a bit slower animation than 0.\n256 = normal exit but does not close the door.\n4160 = ped is throwing himself out, even when the vehicle is still.\n262144 = ped moves to passenger seat first, then exits normally\nOthers to be tried out: 320, 512, 131072.\n```\n\n**This is the server-side RPC native equivalent of the client native [TASK_LEAVE_VEHICLE](?\\_0xD3DBCE61A490BE02).**"}],"examples":[],"aliases":[],"enums":[],"related":[],"sources":["cfx"],"doc":2,"url":"https://natives.borderlinerp.com/natives/CFX/TASK_LEAVE_VEHICLE","markdownUrl":"https://natives.borderlinerp.com/natives/CFX/TASK_LEAVE_VEHICLE.md","snippets":{"lua":"TaskLeaveVehicle(ped, vehicle, flags)","luaInvoke":"Citizen.InvokeNative(0x7b1141c6, ped, vehicle, flags)","js":"TaskLeaveVehicle(ped, vehicle, flags);","jsInvoke":"Citizen.invokeNative('0x7b1141c6', ped, vehicle, flags);","csharp":"Function.Call((Hash)0x7b1141c6, ped, vehicle, flags);","notes":[]}}