Built-inClient

timera

TIMERA0x83666F9FB8FEBD4B

The GTA V native TIMERA of the BUILTIN namespace, as LS:MP client scripts call it: the global function timera, in JavaScript and in Lua.

SignatureJavaScript
timera(): number
SignatureLua
timera(): integer

Usage

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

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.

Counts up. Every 1000 is 1 real-time second. Use SETTIMERA(int value) to set the timer (e.g.: SETTIMERA(0)).

Reference

Namespace
Built-in BUILTIN
In the game
int TIMERA()
Hash
0x83666F9FB8FEBD4B

Open in the interactive natives reference