warning Not Translated
This page has not been translated into the language that your browser requested yet. The English content is being shown as a fallback.
If you want to contribute a translation for this page then please click here.
OnFilterScriptInit
Description
This callback is called when a filterscript is initialized (loaded). It is only called inside the filterscript which is starting.
Examples
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print("The filterscript is loaded.");
print("--------------------------------------\n");
return 1;
}
Related Callbacks
The following callbacks might be useful, as they're related to this callback in one way or another.
- OnFilterSciptExit: This callback is called when a filterscript is unloaded.
- OnGameModeInit: This callback is called when a gamemode starts.
- OnGameModeExit: This callback is called when a gamemode ends.