netGameserverFlagForSessionRestart
_NET_GAMESERVER_FLAG_FOR_SESSION_RESTARTThe GTA V native _NET_GAMESERVER_FLAG_FOR_SESSION_RESTART of the NETSHOPPING namespace, as LS:MP client scripts call it: the global function netGameserverFlagForSessionRestart, in JavaScript and in Lua.
netGameserverFlagForSessionRestart(): booleannetGameserverFlagForSessionRestart(): boolean⚠
Not in this game build
The global exists, but the native is not part of the game build LS:MP runs: calling it does nothing and returns undefined in JavaScript, nil in Lua. It never throws. See Coverage.
Usage
JavaScript
const result = netGameserverFlagForSessionRestart();Lua
local result = netGameserverFlagForSessionRestart()Parameters
None.
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Net shopping NETSHOPPING
- In the game
BOOL _NET_GAMESERVER_FLAG_FOR_SESSION_RESTART()