The Lab
TASK native

SET_SEQUENCE_TO_REPEAT

returns void2 paramsbuild 1207

Sets whether the task sequence taskSequenceId repeats, according to repeatMode.

Call it before CLOSE_SEQUENCE_TASK.

Signature

C
void SET_SEQUENCE_TO_REPEAT(int taskSequenceId, int repeatMode); // 0x58C70CF3A41E4AE7 b1207

Parameters

#NameType
1taskSequenceIdint
2repeatModeint

Facts

Facts about SET_SEQUENCE_TO_REPEAT
Name
SET_SEQUENCE_TO_REPEAT
Hash
0x58C70CF3A41E4AE7
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(0x58C70CF3A41E4AE7, -- SET_SEQUENCE_TO_REPEAT
  0, -- int taskSequenceId
  0 -- int repeatMode
)
JavaScript
Citizen.invokeNative("0x58C70CF3A41E4AE7", // SET_SEQUENCE_TO_REPEAT
  0, // int taskSequenceId
  0 // int repeatMode
);
C#
Function.Call((Hash)0x58C70CF3A41E4AE7, // SET_SEQUENCE_TO_REPEAT
  0, // int taskSequenceId
  0 // int repeatMode
);
All TASK natives

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