Net shoppingClientBlocked

netGameserverRetrieveCatalogRefreshStatus

NET_GAMESERVER_RETRIEVE_CATALOG_REFRESH_STATUS0xCF38DAFBB49EDE5E

The GTA V native NET_GAMESERVER_RETRIEVE_CATALOG_REFRESH_STATUS of the NETSHOPPING namespace, as LS:MP client scripts call it: the global function netGameserverRetrieveCatalogRefreshStatus, in JavaScript and in Lua.

SignatureJavaScript
netGameserverRetrieveCatalogRefreshStatus(): [ok: boolean, state: number]
SignatureLua
netGameserverRetrieveCatalogRefreshStatus(): boolean, integer
✕
Blocked for scripts: Rockstar accounts and commerce

Resources do not touch Rockstar accounts, Social Club data, GTA$ or the game's online shops. Keep your own economy and profiles on your server, with storage.

Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.

Reference

Namespace
Net shopping NETSHOPPING
In the game
BOOL NET_GAMESERVER_RETRIEVE_CATALOG_REFRESH_STATUS(int* state)
Hash
0xCF38DAFBB49EDE5E
Formerly
_NET_GAMESERVER_GET_CATALOG_STATE

Open in the interactive natives reference