NetworkClient

networkCheckCommunicationPrivileges

NETWORK_CHECK_COMMUNICATION_PRIVILEGES0x83F28CE49FBBFFBA

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

SignatureJavaScript
networkCheckCommunicationPrivileges(
  p0: number,
  p1: number,
  p2: boolean
): boolean
SignatureLua
networkCheckCommunicationPrivileges(
  p0: integer,
  p1: integer,
  p2: boolean
): boolean

Usage

JavaScript
const result = networkCheckCommunicationPrivileges(p0, p1, p2);
Lua
local result = networkCheckCommunicationPrivileges(p0, p1, p2)

Parameters

ParameterTypeJavaScriptLua
p0intnumberinteger
p1intnumberinteger
p2BOOLbooleanboolean

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_CHECK_COMMUNICATION_PRIVILEGES(int p0, int p1, BOOL p2)
Hash
0x83F28CE49FBBFFBA

Open in the interactive natives reference