getCloudTimeAsInt
GET_CLOUD_TIME_AS_INT0x9A73240B49945C76The GTA V native GET_CLOUD_TIME_AS_INT of the NETWORK namespace, as LS:MP client scripts call it: the global function getCloudTimeAsInt, in JavaScript and in Lua.
getCloudTimeAsInt(): numbergetCloudTimeAsInt(): integerUsage
JavaScript
const result = getCloudTimeAsInt();Lua
local result = getCloudTimeAsInt()Parameters
None.
Returns
int JavaScript number, Lua integerNotes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Returns POSIX timestamp, an int representing the cloud time.
Reference
- Namespace
- Network NETWORK
- In the game
int GET_CLOUD_TIME_AS_INT()- Hash
0x9A73240B49945C76