NetworkClient

networkSetTeamOnlyChat

NETWORK_SET_TEAM_ONLY_CHAT0xD5B4883AC32F24C3

The 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.

SignatureJavaScript
networkSetTeamOnlyChat(toggle: boolean): void
SignatureLua
networkSetTeamOnlyChat(toggle: boolean)

Usage

JavaScript
networkSetTeamOnlyChat(toggle);
Lua
networkSetTeamOnlyChat(toggle)

Parameters

ParameterTypeJavaScriptLua
toggleBOOLbooleanboolean

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

Open in the interactive natives reference