NetworkClientBlocked

shutdownAndLaunchSinglePlayerGame

SHUTDOWN_AND_LAUNCH_SINGLE_PLAYER_GAME0x593850C16A36B692

The GTA V native SHUTDOWN_AND_LAUNCH_SINGLE_PLAYER_GAME of the NETWORK namespace, as LS:MP client scripts call it: the global function shutdownAndLaunchSinglePlayerGame, in JavaScript and in Lua.

SignatureJavaScript
shutdownAndLaunchSinglePlayerGame(): void
SignatureLua
shutdownAndLaunchSinglePlayerGame()
✕
Blocked for scripts: Saves and game flow

Scripts cannot save, load or restart the game. For persistent data, use 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
Network NETWORK
In the game
void SHUTDOWN_AND_LAUNCH_SINGLE_PLAYER_GAME()
Hash
0x593850C16A36B692

Open in the interactive natives reference