networkDoesCommunicationGroupHaveSettingsEnabled
_NETWORK_DOES_COMMUNICATION_GROUP_HAVE_SETTINGS_ENABLED0x20C12650830A64ECThe GTA V native _NETWORK_DOES_COMMUNICATION_GROUP_HAVE_SETTINGS_ENABLED of the NETWORK namespace, as LS:MP client scripts call it: the global function networkDoesCommunicationGroupHaveSettingsEnabled, in JavaScript and in Lua.
networkDoesCommunicationGroupHaveSettingsEnabled(
communicationType: number
): booleannetworkDoesCommunicationGroupHaveSettingsEnabled(
communicationType: integer
): boolean⚠
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 = networkDoesCommunicationGroupHaveSettingsEnabled(communicationType);Lua
local result = networkDoesCommunicationGroupHaveSettingsEnabled(communicationType)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
communicationType | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Network NETWORK
- In the game
BOOL _NETWORK_DOES_COMMUNICATION_GROUP_HAVE_SETTINGS_ENABLED(int communicationType)- Hash
0x20C12650830A64EC- Introduced
- Game build 3570 legacy numbering