OnGameModeExit
From SA-MP Wiki
(Difference between revisions)
Revision as of 10:34, 19 April 2014 MP2 (Talk | contribs) (Lang) ← Previous diff |
Revision as of 05:34, 22 April 2014 TopFuel (Talk | contribs) (lang link) Next diff → |
||
Line 7: | Line 7: | ||
{{NoReturnCallback}} | {{NoReturnCallback}} | ||
+ | {{Example}} | ||
<pawn> | <pawn> | ||
public OnGameModeExit() | public OnGameModeExit() | ||
Line 27: | Line 28: | ||
[[es:OnGameModeExit]] | [[es:OnGameModeExit]] | ||
[[fr:OnGameModeExit]] | [[fr:OnGameModeExit]] | ||
+ | [[pt:OnGameModeExit]] |
Revision as of 05:34, 22 April 2014
Description:
This callback is called when a gamemode ends.
This callback has no parameters.
Return Values:
This callback does not handle returns.
Example Usage:
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.