NetworkClientNot in this build

networkHavePlatformCommunicationPrivileges

_NETWORK_HAVE_PLATFORM_COMMUNICATION_PRIVILEGES0xE1E02509169C124E

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

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

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.

Appears to be PlayStation-specific. Always returns true on other platforms if signed in with the primary user profile

Reference

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

Open in the interactive natives reference