-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Document game exit natives * Update RestartGame * Document QuitGame * Update RestartGame.md Re-add old description with some further detail. --------- Co-authored-by: ammonia-cfx <[email protected]>
- Loading branch information
Showing
5 changed files
with
31 additions
and
30 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
ns: MISC | ||
aliases: ["0xEB6891F03362FB12", "_FORCE_SOCIAL_CLUB_UPDATE"] | ||
--- | ||
## QUIT_GAME | ||
|
||
```c | ||
// 0xEB6891F03362FB12 | ||
void QUIT_GAME(); | ||
``` | ||
|
||
Quits the game. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
--- | ||
ns: MISC | ||
aliases: ["0xE574A662ACAEFBB1"] | ||
aliases: ["0xE574A662ACAEFBB1", "_RESTART_GAME"] | ||
--- | ||
## _RESTART_GAME | ||
## RESTART_GAME | ||
|
||
```c | ||
// 0xE574A662ACAEFBB1 | ||
void _RESTART_GAME(); | ||
void RESTART_GAME(); | ||
``` | ||
|
||
In singleplayer it does exactly what the name implies. In FiveM / GTA:Online it shows `Disconnecting from GTA Online` HUD and then quits the game. | ||
|
||
In singleplayer it does exactly what the name implies. In FiveM / GTA:Online it shows the `Disconnecting from GTA Online` warning screen message and quits the game. | ||
After quitting, the game process is started again (as the name implies). |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
ns: NETWORK | ||
aliases: ["0x45A83257ED02D9BC"] | ||
--- | ||
## NETWORK_QUIT_MP_TO_DESKTOP | ||
|
||
```c | ||
// 0x45A83257ED02D9BC | ||
void NETWORK_QUIT_MP_TO_DESKTOP(); | ||
``` | ||
|
||
Forces the "Are you sure you want to quit Grand Theft Auto V?" warning message (Same as when you Alt+F4) to show. | ||
Doesn't work in singleplayer. |