GET_REAL_WORLD_TIME
Returns GET_GAME_TIMER() / 1000 Only used in rcm_pearson1.ysc
Hash
0x2E036F0480B8BF02Runtime name
GetRealWorldTimeNamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
Signature
int GET_REAL_WORLD_TIME();Returns int
Description
Returns GET_GAME_TIMER() / 1000
Only used in rcm_pearson1.ysc
Usage
local retval = GetRealWorldTime()
-- always works, by hash
local retval = Citizen.InvokeNative(0x2E036F0480B8BF02, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetRealWorldTime();
// by hash
const retval = Citizen.invokeNative('0x2E036F0480B8BF02', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x2E036F0480B8BF02);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.