NetworkClient

networkSetCurrentChatOption

NETWORK_SET_CURRENT_CHAT_OPTION0x3DAD00265FBF356B

The GTA V native NETWORK_SET_CURRENT_CHAT_OPTION of the NETWORK namespace, as LS:MP client scripts call it: the global function networkSetCurrentChatOption, in JavaScript and in Lua.

SignatureJavaScript
networkSetCurrentChatOption(newChatOption: number): void
SignatureLua
networkSetCurrentChatOption(newChatOption: integer)

Usage

JavaScript
networkSetCurrentChatOption(newChatOption);
Lua
networkSetCurrentChatOption(newChatOption)

Parameters

ParameterTypeJavaScriptLua
newChatOptionintnumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void NETWORK_SET_CURRENT_CHAT_OPTION(int newChatOption)
Hash
0x3DAD00265FBF356B
Introduced
Game build 2802 legacy numbering

Open in the interactive natives reference