The Lab
TASK native

TASK_PERFORM_SEQUENCE

returns void2 paramsbuild 1207

Tasks ped to perform the task sequence taskSequenceId.

Signature

C
void TASK_PERFORM_SEQUENCE(Ped ped, int taskSequenceId); // 0x5ABA3986D90D8A3B b1207

Parameters

#NameType
1pedPed
2taskSequenceIdint

Facts

Facts about TASK_PERFORM_SEQUENCE
Name
TASK_PERFORM_SEQUENCE
Hash
0x5ABA3986D90D8A3B
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(0x5ABA3986D90D8A3B, -- TASK_PERFORM_SEQUENCE
  PlayerPedId(), -- Ped ped
  0 -- int taskSequenceId
)
JavaScript
Citizen.invokeNative("0x5ABA3986D90D8A3B", // TASK_PERFORM_SEQUENCE
  PlayerPedId(), // Ped ped
  0 // int taskSequenceId
);
C#
Function.Call((Hash)0x5ABA3986D90D8A3B, // TASK_PERFORM_SEQUENCE
  API.PlayerPedId(), // Ped ped
  0 // int taskSequenceId
);
All TASK natives

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