networkSetTeamOnlyChat
NETWORK_SET_TEAM_ONLY_CHAT0xD5B4883AC32F24C3The GTA V native NETWORK_SET_TEAM_ONLY_CHAT of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetTeamOnlyChat, in JavaScript and in Lua.
networkSetTeamOnlyChat(toggle: boolean): voidnetworkSetTeamOnlyChat(toggle: boolean)Usage
JavaScript
networkSetTeamOnlyChat(toggle);Lua
networkSetTeamOnlyChat(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_TEAM_ONLY_CHAT(BOOL toggle)- Hash
0xD5B4883AC32F24C3