OnFilterScriptInit
From SA-MP Wiki
This callback is called when a filterscript is loaded, it is only called inside the filterscript which is starting.
This callback has no parameters
| Returns | This function doesn't return a specific value |
public OnFilterScriptInit() { print("\n--------------------------------------"); print(" My script Loaded"); 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.
- OnFilterScriptExit: Called when a filterscript is unloaded.
- OnGameModeInit: Called when a gamemode starts.
- OnGameModeExit: Called when a gamemode ends.
