Net shoppingClientBlocked

netGameserverRetrieveSessionErrorCode

NET_GAMESERVER_RETRIEVE_SESSION_ERROR_CODE0xC13C38E47EA5DF31

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

SignatureJavaScript
netGameserverRetrieveSessionErrorCode(): [ok: boolean, p0: number]
SignatureLua
netGameserverRetrieveSessionErrorCode(): 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_RETRIEVE_SESSION_ERROR_CODE(int* p0)
Hash
0xC13C38E47EA5DF31

Open in the interactive natives reference