Net shoppingClientBlocked

netGameserverCatalogItemIsValid

NET_GAMESERVER_CATALOG_ITEM_IS_VALID0xBD4D7EAF8A30F637

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

SignatureJavaScript
netGameserverCatalogItemIsValid(name: string): boolean
SignatureLua
netGameserverCatalogItemIsValid(name: string): boolean
✕
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_CATALOG_ITEM_IS_VALID(const char* name)
Hash
0xBD4D7EAF8A30F637
Formerly
_NETWORK_SHOP_IS_ITEM_UNLOCKED _NETWORK_SHOP_DOES_ITEM_EXIST _NET_GAMESERVER_CATALOG_ITEM_EXISTS

Open in the interactive natives reference