Net shoppingClientBlocked

netGameserverBasketApplyServerData

NET_GAMESERVER_BASKET_APPLY_SERVER_DATA0xE1A0450ED46A7812

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

SignatureJavaScript
netGameserverBasketApplyServerData(p0: any, p1: null): boolean
SignatureLua
netGameserverBasketApplyServerData(p0: any, p1: nil): 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_BASKET_APPLY_SERVER_DATA(Any p0, Any* p1)
Hash
0xE1A0450ED46A7812
Formerly
_NETWORK_SHOP_BASKET_APPLY_SERVER_DATA

Open in the interactive natives reference