NetworkClient

getUserPremiumAccess

GET_USER_PREMIUM_ACCESS0x754615490A029508

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

SignatureJavaScript
getUserPremiumAccess(): number
SignatureLua
getUserPremiumAccess(): integer

Usage

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

Parameters

None.

Returns

int JavaScript number, Lua integer

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Checks some commerce stuff

Reference

Namespace
Network NETWORK
In the game
int GET_USER_PREMIUM_ACCESS()
Hash
0x754615490A029508
Introduced
Game build 1290 legacy numbering

Open in the interactive natives reference