TASK_LEAVE_ANY_VEHICLE
Flags are the same flags used in TASK_LEAVE_VEHICLE This is the server-side RPC native equivalent of the client native TASK_LEAVE_ANY_VEHICLE.
Signature
void TASK_LEAVE_ANY_VEHICLE(Ped ped, int p1, int flags);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p1 | int | — |
flags | int | — |
Returns void
Description
Flags are the same flags used in TASK_LEAVE_VEHICLE
This is the server-side RPC native equivalent of the client native TASK_LEAVE_ANY_VEHICLE.
Usage
TaskLeaveAnyVehicle(ped, p1, flags)
-- always works, by hash
Citizen.InvokeNative(0xdbdd79fa, ped, p1, flags)JavaScript and C#
TaskLeaveAnyVehicle(ped, p1, flags);
// by hash
Citizen.invokeNative('0xdbdd79fa', ped, p1, flags);Function.Call((Hash)0xdbdd79fa, ped, p1, flags);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.