NetworkClientNot in this build

networkSetCommunicationGroupFlags

_NETWORK_SET_COMMUNICATION_GROUP_FLAGS0xE549F846DE7D32D5

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

SignatureJavaScript
networkSetCommunicationGroupFlags(
  communicationType: number,
  communicationGroupFlag: number
): void
SignatureLua
networkSetCommunicationGroupFlags(
  communicationType: integer,
  communicationGroupFlag: integer
)
⚠
Not in this game build

The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.

Usage

JavaScript
networkSetCommunicationGroupFlags(communicationType, communicationGroupFlag);
Lua
networkSetCommunicationGroupFlags(communicationType, communicationGroupFlag)

Parameters

ParameterTypeJavaScriptLuaDescription
communicationTypeintnumberintegersee 0xDBDF80673BBA3D65
communicationGroupFlagintnumberintegersee 0x40DF02F371F40883

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Network NETWORK
In the game
void _NETWORK_SET_COMMUNICATION_GROUP_FLAGS(int communicationType, int communicationGroupFlag)
Hash
0xE549F846DE7D32D5
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference