Net shoppingClientBlocked

netGameserverStartSessionRestart

NET_GAMESERVER_START_SESSION_RESTART0x35A1B3E1D1315CFA

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

SignatureJavaScript
netGameserverStartSessionRestart(
  inventory: boolean,
  playerbalance: boolean
): boolean
SignatureLua
netGameserverStartSessionRestart(
  inventory: boolean,
  playerbalance: boolean
): 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_START_SESSION_RESTART(BOOL inventory, BOOL playerbalance)
Hash
0x35A1B3E1D1315CFA
Formerly
_NET_GAMESERVER_UPDATE_BALANCE

Open in the interactive natives reference