TASK_LEAVE_ANY_VEHICLE
Hash
0x504D54DF3F6F2247Runtime name
TaskLeaveAnyVehicleNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x504D54DF3F6F2247Signature
void TASK_LEAVE_ANY_VEHICLE(Ped ped, int p1, int taskFlag);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | int | — |
taskFlag | int | — |
Returns void
Description
flags: See TASK_ENTER_VEHICLE
Usage
TaskLeaveAnyVehicle(ped, p1, taskFlag)
-- always works, by hash
Citizen.InvokeNative(0x504D54DF3F6F2247, ped, p1, taskFlag)JavaScript and C#
TaskLeaveAnyVehicle(ped, p1, taskFlag);
// by hash
Citizen.invokeNative('0x504D54DF3F6F2247', ped, p1, taskFlag);Function.Call((Hash)0x504D54DF3F6F2247, ped, p1, taskFlag);Enums and flags
- eEnterExitVehicleFlags 29 values
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.