RedM Natives

GET_CLOCK_MONTH

Hash0x2D44E8FC79EAB1AC
Runtime nameGetClockMonth
NamespaceCLOCK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xBBC72712E80257A1

Signature

int GET_CLOCK_MONTH();

Returns int

Usage

Lua
local retval = GetClockMonth()

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

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

Sources

alloc8or RDR3 NativeDB

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