clearPedTasks
CLEAR_PED_TASKS0xE1EF3C1216AFF2CDThe GTA V native CLEAR_PED_TASKS of the TASK namespace, as LS:MP client scripts call it: the global function clearPedTasks, in JavaScript and in Lua.
clearPedTasks(ped: Ped): voidclearPedTasks(ped: Ped)Usage
JavaScript
clearPedTasks(ped);Lua
clearPedTasks(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_TASKS(Ped ped)- Hash
0xE1EF3C1216AFF2CD