NetworkClientNot in this build

networkGetCommunicationGroupFlags

_NETWORK_GET_COMMUNICATION_GROUP_FLAGS0x40DF02F371F40883

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

SignatureJavaScript
networkGetCommunicationGroupFlags(communicationType: number): number
SignatureLua
networkGetCommunicationGroupFlags(communicationType: integer): 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
const result = networkGetCommunicationGroupFlags(communicationType);
Lua
local result = networkGetCommunicationGroupFlags(communicationType)

Parameters

ParameterTypeJavaScriptLua
communicationTypeintnumberinteger

Returns

int JavaScript number, Lua integer

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Returns communicationGroupFlag
communicationType: see 0xDBDF80673BBA3D65

Reference

Namespace
Network NETWORK
In the game
int _NETWORK_GET_COMMUNICATION_GROUP_FLAGS(int communicationType)
Hash
0x40DF02F371F40883
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference