NetworkClient

networkHaveOnlinePrivileges

NETWORK_HAVE_ONLINE_PRIVILEGES0x25CB5A9F37BFD063

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

SignatureJavaScript
networkHaveOnlinePrivileges(): boolean
SignatureLua
networkHaveOnlinePrivileges(): boolean

Usage

JavaScript
const result = networkHaveOnlinePrivileges();
Lua
local result = networkHaveOnlinePrivileges()

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_HAVE_ONLINE_PRIVILEGES()
Hash
0x25CB5A9F37BFD063

Open in the interactive natives reference