networkSetNoSpectatorChat
NETWORK_SET_NO_SPECTATOR_CHAT0xF46A1E03E8755980The GTA V native NETWORK_SET_NO_SPECTATOR_CHAT of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetNoSpectatorChat, in JavaScript and in Lua.
networkSetNoSpectatorChat(toggle: boolean): voidnetworkSetNoSpectatorChat(toggle: boolean)Usage
JavaScript
networkSetNoSpectatorChat(toggle);Lua
networkSetNoSpectatorChat(toggle)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
toggle | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Network NETWORK
- In the game
void NETWORK_SET_NO_SPECTATOR_CHAT(BOOL toggle)- Hash
0xF46A1E03E8755980