NETWORK_GET_GAME_MODE
Hash
0x225640E09EFFDC3FRuntime name
NetworkGetGameModeNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
Signature
int NETWORK_GET_GAME_MODE();Returns int
Usage
local retval = NetworkGetGameMode()
-- always works, by hash
local retval = Citizen.InvokeNative(0x225640E09EFFDC3F, Citizen.ResultAsInteger())JavaScript and C#
const retval = NetworkGetGameMode();
// by hash
const retval = Citizen.invokeNative('0x225640E09EFFDC3F', Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x225640E09EFFDC3F);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.