The Lab
TASK native

CLOSE_SEQUENCE_TASK

returns void1 parambuild 1207

Finishes recording the task sequence taskSequenceId.

Then run it with TASK_PERFORM_SEQUENCE and free it with CLEAR_SEQUENCE_TASK.

Signature

C
void CLOSE_SEQUENCE_TASK(int taskSequenceId); // 0x39E72BC99E6360CB b1207

Parameters

#NameType
1taskSequenceIdint

Facts

Facts about CLOSE_SEQUENCE_TASK
Name
CLOSE_SEQUENCE_TASK
Hash
0x39E72BC99E6360CB
Namespace
Returns
void
Game build
1207

Examples

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

Lua
Citizen.InvokeNative(0x39E72BC99E6360CB, -- CLOSE_SEQUENCE_TASK
  0 -- int taskSequenceId
)
JavaScript
Citizen.invokeNative("0x39E72BC99E6360CB", // CLOSE_SEQUENCE_TASK
  0 // int taskSequenceId
);
C#
Function.Call((Hash)0x39E72BC99E6360CB, // CLOSE_SEQUENCE_TASK
  0 // int taskSequenceId
);
All TASK natives

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