clearPedScriptTaskIfRunningThreatResponseNonTempTask
CLEAR_PED_SCRIPT_TASK_IF_RUNNING_THREAT_RESPONSE_NON_TEMP_TASK0xF6DC48E56BE1243AThe GTA V native CLEAR_PED_SCRIPT_TASK_IF_RUNNING_THREAT_RESPONSE_NON_TEMP_TASK of the TASK namespace, as LS:MP client scripts call it: the global function clearPedScriptTaskIfRunningThreatResponseNonTempTask, in JavaScript and in Lua.
clearPedScriptTaskIfRunningThreatResponseNonTempTask(ped: Ped): voidclearPedScriptTaskIfRunningThreatResponseNonTempTask(ped: Ped)⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
clearPedScriptTaskIfRunningThreatResponseNonTempTask(ped);Lua
clearPedScriptTaskIfRunningThreatResponseNonTempTask(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_SCRIPT_TASK_IF_RUNNING_THREAT_RESPONSE_NON_TEMP_TASK(Ped ped)- Hash
0xF6DC48E56BE1243A- Introduced
- Game build 3407 legacy numbering