RedM Natives

GET_FRAME_COUNT

Hash0x77DFA958FCF100C1
Runtime nameGetFrameCount
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0xFC8202EFC642E6F2

Signature

int GET_FRAME_COUNT();

Returns int

Usage

Lua
local retval = GetFrameCount()

-- always works, by hash
local retval = Citizen.InvokeNative(0x77DFA958FCF100C1, Citizen.ResultAsInteger())
JavaScript and C#
JavaScript
const retval = GetFrameCount();

// by hash
const retval = Citizen.invokeNative('0x77DFA958FCF100C1', Citizen.returnResultAnyway(), Citizen.resultAsInteger());
C#
int retval = Function.Call<int>((Hash)0x77DFA958FCF100C1);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.