RedM Natives

GET_CLOUD_TIME_AS_INT

Hash0x9A73240B49945C76
Runtime nameGetCloudTimeAsInt
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9A73240B49945C76

Signature

int GET_CLOUD_TIME_AS_INT();

Returns int

Usage

Lua
local retval = GetCloudTimeAsInt()

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

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

Sources

alloc8or RDR3 NativeDB

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