OnFilterScriptExit
From SA-MP Wiki
OnFilterScriptExit
This callback is called when a filterscript is unloaded. It is only called inside the filterscript which is unloaded.
This callback has no parameters
This function does not return a specific value.
public OnFilterScriptExit() { print("\n--------------------------------------"); print(" My script Unloaded"); print("--------------------------------------\n"); 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.
- OnGameModeInit: Called when a gamemode starts.
- OnGameModeExit: Called when a gamemode ends.
