networkGetCommunicationGroupValue
_NETWORK_GET_COMMUNICATION_GROUP_VALUE0xBF66ACD9AE81A99FThe GTA V native _NETWORK_GET_COMMUNICATION_GROUP_VALUE of the NETWORK namespace, as LS:MP client scripts call it: the global function networkGetCommunicationGroupValue, in JavaScript and in Lua.
networkGetCommunicationGroupValue(communicationType: number): numbernetworkGetCommunicationGroupValue(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 = networkGetCommunicationGroupValue(communicationType);Lua
local result = networkGetCommunicationGroupValue(communicationType)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
communicationType | int | number | integer |
Returns
int JavaScript number, Lua integerReference
- Namespace
- Network NETWORK
- In the game
int _NETWORK_GET_COMMUNICATION_GROUP_VALUE(int communicationType)- Hash
0xBF66ACD9AE81A99F- Introduced
- Game build 3570 legacy numbering