The Lab
TASK native

CLEAR_SEQUENCE_TASK

returns void1 parambuild 1207

Frees the task sequence taskSequenceId.

Signature

C
void CLEAR_SEQUENCE_TASK(int* taskSequenceId); // 0x3841422E9C488D8C b1207

Parameters

#NameType
1taskSequenceIdint* (out pointer)

Facts

Facts about CLEAR_SEQUENCE_TASK
Name
CLEAR_SEQUENCE_TASK
Hash
0x3841422E9C488D8C
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local taskSequenceId = Citizen.InvokeNative(0x3841422E9C488D8C, -- CLEAR_SEQUENCE_TASK
  Citizen.PointerValueInt() -- int* taskSequenceId
)
print(taskSequenceId)
JavaScript
const taskSequenceId = Citizen.invokeNative("0x3841422E9C488D8C", // CLEAR_SEQUENCE_TASK
  Citizen.pointerValueInt() // int* taskSequenceId
);
console.log(taskSequenceId)
C#
var taskSequenceIdArg = new OutputArgument();
Function.Call((Hash)0x3841422E9C488D8C, // CLEAR_SEQUENCE_TASK
  taskSequenceIdArg // int* taskSequenceId
);
int taskSequenceId = taskSequenceIdArg.GetResult<int>();
All TASK natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.