clearSequenceTask
CLEAR_SEQUENCE_TASK0x3841422E9C488D8CThe GTA V native CLEAR_SEQUENCE_TASK of the TASK namespace, as LS:MP client scripts call it: the global function clearSequenceTask, in JavaScript and in Lua.
clearSequenceTask(taskSequenceId: number): voidclearSequenceTask(taskSequenceId: integer)⚠
Known issue
The value of taskSequenceId does not reach the game yet: LS:MP currently treats this pointer as an output, so the game receives an empty value instead of yours.
Usage
JavaScript
clearSequenceTask(taskSequenceId);Lua
clearSequenceTask(taskSequenceId)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
taskSequenceId | int | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Tasks TASK
- In the game
void CLEAR_SEQUENCE_TASK(int* taskSequenceId)- Hash
0x3841422E9C488D8C