ClockClient

getClockMinutes

GET_CLOCK_MINUTES0x13D2B8ADD79640F2

The GTA V native GET_CLOCK_MINUTES of the CLOCK namespace, as LS:MP client scripts call it: the global function getClockMinutes, in JavaScript and in Lua.

SignatureJavaScript
getClockMinutes(): number
SignatureLua
getClockMinutes(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Gets the current ingame clock minute.

Reference

Namespace
Clock CLOCK
In the game
int GET_CLOCK_MINUTES()
Hash
0x13D2B8ADD79640F2

Open in the interactive natives reference