MiscClient

getGameTimer

GET_GAME_TIMER0x9CD27B0045628463

The GTA V native GET_GAME_TIMER of the MISC namespace, as LS:MP client scripts call it: the global function getGameTimer, in JavaScript and in Lua.

SignatureJavaScript
getGameTimer(): number
SignatureLua
getGameTimer(): integer

Usage

JavaScript
const result = getGameTimer();
Lua
local result = getGameTimer()

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Misc MISC
In the game
int GET_GAME_TIMER()
Hash
0x9CD27B0045628463

Open in the interactive natives reference