NetworkClientNot in this build

networkHasRosPrivilegeMpTextCommunication

_NETWORK_HAS_ROS_PRIVILEGE_MP_TEXT_COMMUNICATION0xD9719341663C385F

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

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

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 29

Reference

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

Open in the interactive natives reference