RedM Natives

GET_NUMBER_OF_MICROSECONDS_SINCE_LAST_CALL

Hash0xB0CE5E5ED8BB3581
Runtime nameGetNumberOfMicrosecondsSinceLastCall
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207

Signature

int GET_NUMBER_OF_MICROSECONDS_SINCE_LAST_CALL();

Returns int

Usage

Lua
local retval = GetNumberOfMicrosecondsSinceLastCall()

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

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

Sources

alloc8or RDR3 NativeDB

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