OPEN_SEQUENCE_TASK
Starts recording a task sequence and writes its id to taskSequenceId.
Task natives called with ped 0 are recorded until CLOSE_SEQUENCE_TASK.
Signature
void OPEN_SEQUENCE_TASK(int* taskSequenceId); // 0xE8854A4326B9E12B b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | taskSequenceId | int* (out pointer) |
Facts
| Name | OPEN_SEQUENCE_TASK |
|---|---|
| Hash | 0xE8854A4326B9E12B |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local taskSequenceId = Citizen.InvokeNative(0xE8854A4326B9E12B, -- OPEN_SEQUENCE_TASK
Citizen.PointerValueInt() -- int* taskSequenceId
)
print(taskSequenceId)const taskSequenceId = Citizen.invokeNative("0xE8854A4326B9E12B", // OPEN_SEQUENCE_TASK
Citizen.pointerValueInt() // int* taskSequenceId
);
console.log(taskSequenceId)var taskSequenceIdArg = new OutputArgument();
Function.Call((Hash)0xE8854A4326B9E12B, // OPEN_SEQUENCE_TASK
taskSequenceIdArg // int* taskSequenceId
);
int taskSequenceId = taskSequenceIdArg.GetResult<int>();Related TASK natives
- _TASK_PERFORM_SEQUENCE_2
- CLEAR_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- CLEAR_SEQUENCE_TASK
- CLOSE_SEQUENCE_TASK
- IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_MOUNTED_WEAPON_TASK_UNDERNEATH_DRIVING_TASK
- TASK_PERFORM_SEQUENCE
- TASK_PERFORM_SEQUENCE_FROM_PROGRESS
- OPEN_PATROL_ROUTE
- _GET_RANSACK_SCENARIO_CONTAINER_NUM_OPEN_COMPARTMENTS
- _GET_SCRIPT_TASK_ACTION_TIME
- _GET_TASK_COMBAT_READY_TO_SHOOT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.