MiscClient

getFrameCount

GET_FRAME_COUNT0xFC8202EFC642E6F2

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

SignatureJavaScript
getFrameCount(): number
SignatureLua
getFrameCount(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Reference

Namespace
Misc MISC
In the game
int GET_FRAME_COUNT()
Hash
0xFC8202EFC642E6F2

Open in the interactive natives reference