OnGameModeExit
From SA-MP Wiki
(Difference between revisions)
Revision as of 10:33, 23 January 2014 Smithy (Talk | contribs) ← Previous diff |
Revision as of 00:49, 31 January 2014 Connor Mead (Talk | contribs) Next diff → |
||
Line 24: | Line 24: | ||
[[Category:Scripting Callbacks]] | [[Category:Scripting Callbacks]] | ||
+ | |||
+ | [[fr:OnGameModeExit]] |
Revision as of 00:49, 31 January 2014
Description:
This callback is called when a gamemode ends.
This callback has no parameters.
Return Values:
This callback does not handle returns.
public OnGameModeExit() { print("Gamemode ended."); return 1; }
Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.
- OnGameModeInit: Called when a gamemode starts.
- OnFilterScriptExit: Called when a filterscript is unloaded.
- OnFilterScriptInit: Called when a filterscript is loaded.
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.