The Lab
BUILTIN native

SETTIMERA

returns void1 parambuild 1207

Resets the calling script's built-in timer A to value milliseconds.

Set it to 0, then compare TIMERA() against a duration to build simple timeouts.

Signature

C
void SETTIMERA(int value); // 0xC1B1E9A034A63A62 b1207

Parameters

#NameType
1valueint

Facts

Facts about SETTIMERA
Name
SETTIMERA
Hash
0xC1B1E9A034A63A62
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(0xC1B1E9A034A63A62, -- SETTIMERA
  0 -- int value
)
JavaScript
Citizen.invokeNative("0xC1B1E9A034A63A62", // SETTIMERA
  0 // int value
);
C#
Function.Call((Hash)0xC1B1E9A034A63A62, // SETTIMERA
  0 // int value
);
All BUILTIN natives

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