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