netGameserverGetSessionStateAndStatus
NET_GAMESERVER_GET_SESSION_STATE_AND_STATUS0x897433D292B44130The GTA V native NET_GAMESERVER_GET_SESSION_STATE_AND_STATUS of the NETSHOPPING namespace, as LS:MP client scripts call it: the global function netGameserverGetSessionStateAndStatus, in JavaScript and in Lua.
netGameserverGetSessionStateAndStatus(): [
ok: boolean,
p0: number,
p1: boolean
]netGameserverGetSessionStateAndStatus(): boolean, integer, 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_GET_SESSION_STATE_AND_STATUS(int* p0, BOOL* p1)- Hash
0x897433D292B44130- Formerly
_NET_GAMESERVER_GET_TRANSACTION_MANAGER_DATA