TASK

TASK_LEAVE_VEHICLE

0xD3DBCE61A490BE02 Jenkins: 0x7B1141C6

Signature

// TASK
void TASK_LEAVE_VEHICLE(Ped ped, Vehicle vehicle, int flags)

Parameters

Type Name
Ped ped
Vehicle vehicle
int flags

Return type void

Build 323

Documentation

Flags from decompiled scripts: 0 = normal exit and closes door. 1 = normal exit and closes door. 16 = teleports outside, door kept closed. 64 = normal exit and closes door, maybe a bit slower animation than 0. 256 = normal exit but does not close the door. 4160 = ped is throwing himself out, even when the vehicle is still. 262144 = ped moves to passenger seat first, then exits normally Others to be tried out: 320, 512, 131072.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.