NetworkClient

networkHavePlatformSubscription

NETWORK_HAVE_PLATFORM_SUBSCRIPTION0x5EA784D197556507

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

SignatureJavaScript
networkHavePlatformSubscription(): boolean
SignatureLua
networkHavePlatformSubscription(): boolean

Usage

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

Parameters

None.

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Network NETWORK
In the game
BOOL NETWORK_HAVE_PLATFORM_SUBSCRIPTION()
Hash
0x5EA784D197556507
Formerly
_NETWORK_HAVE_ONLINE_PRIVILEGE_2

Open in the interactive natives reference