RedM Natives

GET_SYSTEM_TIME_STEP

Old name: _GET_BENCHMARK_TIME

Hash0x3F3172FEAE3AFE1C
Runtime nameGetSystemTimeStep
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xE599A503B3837E1B

Signature

float GET_SYSTEM_TIME_STEP();

Returns float

Description

Old name: _GET_BENCHMARK_TIME

Usage

Lua
local retval = GetSystemTimeStep()

-- always works, by hash
local retval = Citizen.InvokeNative(0x3F3172FEAE3AFE1C, Citizen.ResultAsFloat())
JavaScript and C#
JavaScript
const retval = GetSystemTimeStep();

// by hash
const retval = Citizen.invokeNative('0x3F3172FEAE3AFE1C', Citizen.returnResultAnyway(), Citizen.resultAsFloat());
C#
float retval = Function.Call<float>((Hash)0x3F3172FEAE3AFE1C);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.