OnFilterScriptExit
From SA-MP Wiki
(Difference between revisions)
Revision as of 17:12, 3 May 2013 Smithy (Talk | contribs) ← Previous diff |
Revision as of 04:25, 2 February 2014 Connor Mead (Talk | contribs) (add fr link) Next diff → |
||
Line 26: | Line 26: | ||
[[de:OnFilterScriptExit]] | [[de:OnFilterScriptExit]] | ||
+ | [[fr:OnFilterScriptExit]] |
Revision as of 04:25, 2 February 2014
Description:
This callback is called when a filterscript is unloaded. It is only called inside the filterscript which is unloaded.
This callback has no parameters.
Return Values:
This callback does not handle returns.
public OnFilterScriptExit() { print("\n--------------------------------------"); print(" My script Unloaded"); print("--------------------------------------\n"); return 1; }
Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.
- OnFilterScriptInit: Called when a filterscript is loaded.
- OnGameModeInit: Called when a gamemode starts.
- OnGameModeExit: Called when a gamemode ends.