MiscClientBlocked

restartGame

RESTART_GAME0xE574A662ACAEFBB1

The GTA V native RESTART_GAME of the MISC namespace, as LS:MP client scripts call it: the global function restartGame, in JavaScript and in Lua.

SignatureJavaScript
restartGame(): void
SignatureLua
restartGame()
✕
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
Misc MISC
In the game
void RESTART_GAME()
Hash
0xE574A662ACAEFBB1
Introduced
Game build 372 legacy numbering
Formerly
_RESTART_GAME

Open in the interactive natives reference