Net shoppingClientBlocked

netGameserverBasketStart

NET_GAMESERVER_BASKET_START0x279F08B1A4B29B7E

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

SignatureJavaScript
netGameserverBasketStart(
  categoryHash: Hash,
  actionHash: Hash,
  flags: number
): [ok: boolean, transactionId: number]
SignatureLua
netGameserverBasketStart(
  categoryHash: Hash,
  actionHash: Hash,
  flags: integer
): 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_BASKET_START(int* transactionId, Hash categoryHash, Hash actionHash, int flags)
Hash
0x279F08B1A4B29B7E
Formerly
_NETWORK_SHOP_BASKET_START

Open in the interactive natives reference