Net shoppingClientBlocked

netGameserverCatalogItemKeyIsValid

NET_GAMESERVER_CATALOG_ITEM_KEY_IS_VALID0x247F0F73A182EA0B

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

SignatureJavaScript
netGameserverCatalogItemKeyIsValid(hash: Hash): boolean
SignatureLua
netGameserverCatalogItemKeyIsValid(hash: Hash): 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_KEY_IS_VALID(Hash hash)
Hash
0x247F0F73A182EA0B
Formerly
_NETWORK_SHOP_IS_ITEM_UNLOCKED_HASH _NETWORK_SHOP_DOES_ITEM_EXIST_HASH _NET_GAMESERVER_CATALOG_ITEM_EXISTS_HASH

Open in the interactive natives reference