RedM Natives

GET_CLOCK_MINUTES

Gets the current ingame clock minute.

Hash0x4E162231B823DBBF
Runtime nameGetClockMinutes
NamespaceCLOCK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x13D2B8ADD79640F2

Signature

int GET_CLOCK_MINUTES();

Returns int

Description

Gets the current ingame clock minute.

Usage

Lua
local retval = GetClockMinutes()

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

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

Sources

alloc8or RDR3 NativeDB

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