RedM Natives

IS_GAME_SESSION_STATE_MACHINE_IDLE

Hash0xF9E7DBB39080640B
Runtime nameIsGameSessionStateMachineIdle
NamespaceMISC
SideClient
NameOfficial
Docs
Since build1207

Signature

BOOL IS_GAME_SESSION_STATE_MACHINE_IDLE();

Returns BOOL

Usage

Lua
local retval = IsGameSessionStateMachineIdle()

-- always works, by hash
local retval = Citizen.InvokeNative(0xF9E7DBB39080640B, Citizen.ReturnResultAnyway())
JavaScript and C#
JavaScript
const retval = IsGameSessionStateMachineIdle();

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

Sources

alloc8or RDR3 NativeDB

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