NetworkClientNot in this build

networkHasRosPrivilegeMpVoiceCommunication

_NETWORK_HAS_ROS_PRIVILEGE_MP_VOICE_COMMUNICATION0x8956A309BE90057C

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

SignatureJavaScript
networkHasRosPrivilegeMpVoiceCommunication(): boolean
SignatureLua
networkHasRosPrivilegeMpVoiceCommunication(): 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 = networkHasRosPrivilegeMpVoiceCommunication();
Lua
local result = networkHasRosPrivilegeMpVoiceCommunication()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Notes

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

Checks for privilege 30

Reference

Namespace
Network NETWORK
In the game
BOOL _NETWORK_HAS_ROS_PRIVILEGE_MP_VOICE_COMMUNICATION()
Hash
0x8956A309BE90057C
Introduced
Game build 3095 legacy numbering

Open in the interactive natives reference