OnFilterScriptInit
Description:
Callback OnFilterScriptInit is called when a filterscript is initialized (loaded). It is only called inside the filterscript which is starting.
Parameters:
(This callback has no parameters.)
Return Values:
This callback does not handle returns.
Examples:
public OnFilterScriptInit() { print("\n--------------------------------------"); print("The filterscript is loaded."); 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.
- OnFilterScriptExit: Called when a filterscript is unloaded.
- OnGameModeInit: Called when a gamemode starts.
- OnGameModeExit: Called when a gamemode ends.