NetworkClientNot in this build

networkHasRosPrivilegeReporting

_NETWORK_HAS_ROS_PRIVILEGE_REPORTING0x9BA54B3CFB82ADDD

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

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

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 31

Reference

Namespace
Network NETWORK
In the game
BOOL _NETWORK_HAS_ROS_PRIVILEGE_REPORTING()
Hash
0x9BA54B3CFB82ADDD
Introduced
Game build 3258 legacy numbering

Open in the interactive natives reference