RedM Natives

NETWORK_IS_GAME_IN_PROGRESS

Hash0x10FAB35428CCC9D7
Runtime nameNetworkIsGameInProgress
NamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash0x10FAB35428CCC9D7

Signature

BOOL NETWORK_IS_GAME_IN_PROGRESS();

Returns BOOL

Usage

Lua
local retval = NetworkIsGameInProgress()

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

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

Sources

alloc8or RDR3 NativeDB

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