clearDefaultPrimaryTask
CLEAR_DEFAULT_PRIMARY_TASK0x6100B3CEFD43452EThe GTA V native CLEAR_DEFAULT_PRIMARY_TASK of the TASK namespace, as LS:MP client scripts call it: the global function clearDefaultPrimaryTask, in JavaScript and in Lua.
clearDefaultPrimaryTask(ped: Ped): voidclearDefaultPrimaryTask(ped: Ped)Usage
JavaScript
clearDefaultPrimaryTask(ped);Lua
clearDefaultPrimaryTask(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_DEFAULT_PRIMARY_TASK(Ped ped)- Hash
0x6100B3CEFD43452E- Introduced
- Game build 2189 legacy numbering