NETWORK_SET_IN_SPECTATOR_MODE
Hash
0x423DE3854BB50894Runtime name
NetworkSetInSpectatorModeNamespaceNETWORK
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x423DE3854BB50894Signature
void NETWORK_SET_IN_SPECTATOR_MODE(BOOL toggle, Ped playerPed);Parameters
| Name | Type | Description |
|---|---|---|
toggle | BOOL | — |
playerPed | Ped | — |
Returns void
Usage
NetworkSetInSpectatorMode(toggle, playerPed)
-- always works, by hash
Citizen.InvokeNative(0x423DE3854BB50894, toggle, playerPed)JavaScript and C#
NetworkSetInSpectatorMode(toggle, playerPed);
// by hash
Citizen.invokeNative('0x423DE3854BB50894', toggle, playerPed);Function.Call((Hash)0x423DE3854BB50894, toggle, playerPed);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.