quitGame
QUIT_GAME0xEB6891F03362FB12The GTA V native QUIT_GAME of the MISC namespace, as LS:MP client scripts call it: the global function quitGame, in JavaScript and in Lua.
quitGame(): voidquitGame()Usage
JavaScript
quitGame();Lua
quitGame()Parameters
None.
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
Exits the game and downloads a fresh social club update on next restart.
Reference
- Namespace
- Misc MISC
- In the game
void QUIT_GAME()- Hash
0xEB6891F03362FB12- Formerly
_FORCE_SOCIAL_CLUB_UPDATE