restartGame
RESTART_GAME0xE574A662ACAEFBB1The 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.
restartGame(): voidrestartGame()✕
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