NETWORK_IS_IN_SPECTATOR_MODE
Hash
0x048746E388762E11Runtime name
NetworkIsInSpectatorModeNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x048746E388762E11Not called by the game's own scripts — behaviour may be incomplete.
Signature
BOOL NETWORK_IS_IN_SPECTATOR_MODE();Returns BOOL
Usage
local retval = NetworkIsInSpectatorMode()
-- always works, by hash
local retval = Citizen.InvokeNative(0x048746E388762E11, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = NetworkIsInSpectatorMode();
// by hash
const retval = Citizen.invokeNative('0x048746E388762E11', Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x048746E388762E11);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.