clearPedSecondaryTask
CLEAR_PED_SECONDARY_TASK0x176CECF6F920D707The GTA V native CLEAR_PED_SECONDARY_TASK of the TASK namespace, as LS:MP client scripts call it: the global function clearPedSecondaryTask, in JavaScript and in Lua.
clearPedSecondaryTask(ped: Ped): voidclearPedSecondaryTask(ped: Ped)Usage
JavaScript
clearPedSecondaryTask(ped);Lua
clearPedSecondaryTask(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void CLEAR_PED_SECONDARY_TASK(Ped ped)- Hash
0x176CECF6F920D707