RedM Natives

GET_MILLISECONDS_PER_GAME_MINUTE

Hash0xE4CB8D126501EC52
Runtime nameGetMillisecondsPerGameMinute
NamespaceCLOCK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x2F8B4D1C595B11DB

Signature

int GET_MILLISECONDS_PER_GAME_MINUTE();

Returns int

Usage

Lua
local retval = GetMillisecondsPerGameMinute()

-- always works, by hash
local retval = Citizen.InvokeNative(0xE4CB8D126501EC52, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetMillisecondsPerGameMinute();

// by hash
const retval = Citizen.invokeNative('0xE4CB8D126501EC52', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0xE4CB8D126501EC52);

See also

Sources

alloc8or RDR3 NativeDB

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