The Lab
MISC native

SCRIPT_RACE_INIT

returns void4 paramsbuild 1207

Initializes the script race system with numCheckpoints checkpoints, numLaps laps and numPlayers players.

Signature

C
void SCRIPT_RACE_INIT(int numCheckpoints, int numLaps, int numPlayers, Any p3); // 0x8AE059F47158417E b1207

Parameters

#NameType
1numCheckpointsint
2numLapsint
3numPlayersint
4p3Any

Facts

Facts about SCRIPT_RACE_INIT
Name
SCRIPT_RACE_INIT
Hash
0x8AE059F47158417E
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(0x8AE059F47158417E, -- SCRIPT_RACE_INIT
  0, -- int numCheckpoints
  0, -- int numLaps
  0, -- int numPlayers
  0 -- Any p3
)
JavaScript
Citizen.invokeNative("0x8AE059F47158417E", // SCRIPT_RACE_INIT
  0, // int numCheckpoints
  0, // int numLaps
  0, // int numPlayers
  0 // Any p3
);
C#
Function.Call((Hash)0x8AE059F47158417E, // SCRIPT_RACE_INIT
  0, // int numCheckpoints
  0, // int numLaps
  0, // int numPlayers
  0 // Any p3
);
All MISC natives

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