CLEAR_SEQUENCE_TASK
Hash
0x3841422E9C488D8CRuntime name
ClearSequenceTaskNamespaceTASK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x3841422E9C488D8CSignature
void CLEAR_SEQUENCE_TASK(int* taskSequenceId);Parameters
| Name | Type | Description |
|---|---|---|
taskSequenceId | int* | — |
Returns void
Usage
local taskSequenceId = ClearSequenceTask(taskSequenceId)
-- always works, by hash
local taskSequenceId = Citizen.InvokeNative(0x3841422E9C488D8C, Citizen.PointerValueIntInitialized(taskSequenceId))JavaScript and C#
const taskSequenceId = ClearSequenceTask(taskSequenceId);
// by hash
const taskSequenceId = Citizen.invokeNative('0x3841422E9C488D8C', Citizen.pointerValueIntInitialized(taskSequenceId));var taskSequenceId = new OutputArgument();
Function.Call((Hash)0x3841422E9C488D8C, taskSequenceId);
// taskSequenceId.GetResult<int>()- The last argument is an in/out pointer: pass its initial value, and the updated value is returned after the result.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.