RedM Natives

NETWORK_IS_SESSION_STARTED

Hash0x9DE624D2FC4B603F
Runtime nameNetworkIsSessionStarted
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x9DE624D2FC4B603F

Signature

BOOL NETWORK_IS_SESSION_STARTED();

Returns BOOL

Usage

Lua
local retval = NetworkIsSessionStarted()

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

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

Sources

alloc8or RDR3 NativeDB

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