OnGameModeExit
From SA-MP Wiki
OnGameModeExit
This callback is called when a gamemode ends.
This callback has no parameters
Here is examples, if you have 2 filterscripts where you want to execute things at OnGameModeExit(). In each example, notice the returned values and the results
public OnGameModeExit() { print("OnGameModeExit was called!"); return 1; }
Related Callbacks
The following callbacks might be useful as well, as they're related to this callback in one way or another.
- OnFilterScriptInit: Called when a filterscript is loaded.
- OnFilterScriptExit: Called when a filterscript is unloaded.
- OnGameModeInit: Called when a gamemode starts.
Related Functions
The following functions might be useful, as they're related to this callback in one way or another.
- GameModeExit: Exit the current gamemode.
