networkIsInSpectatorMode
NETWORK_IS_IN_SPECTATOR_MODE0x048746E388762E11The GTA V native NETWORK_IS_IN_SPECTATOR_MODE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkIsInSpectatorMode, in JavaScript and in Lua.
networkIsInSpectatorMode(): booleannetworkIsInSpectatorMode(): booleanUsage
JavaScript
const result = networkIsInSpectatorMode();Lua
local result = networkIsInSpectatorMode()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Network NETWORK
- In the game
BOOL NETWORK_IS_IN_SPECTATOR_MODE()- Hash
0x048746E388762E11