RedM Natives

GET_SCRIPT_TIME_WITHIN_FRAME_IN_MICROSECONDS

Hash0x63219768C586667C
Runtime nameGetScriptTimeWithinFrameInMicroseconds
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207

Signature

int GET_SCRIPT_TIME_WITHIN_FRAME_IN_MICROSECONDS();

Returns int

Usage

Lua
local retval = GetScriptTimeWithinFrameInMicroseconds()

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

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

Sources

alloc8or RDR3 NativeDB

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