RedM Natives

GET_NETWORK_TIME_ACCURATE

Hash0x89023FBBF9200E9F
Runtime nameGetNetworkTimeAccurate
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x89023FBBF9200E9F

Signature

int GET_NETWORK_TIME_ACCURATE();

Returns int

Usage

Lua
local retval = GetNetworkTimeAccurate()

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

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

Sources

alloc8or RDR3 NativeDB

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