OnFilterScriptInit
From SA-MP Wiki
(Difference between revisions)
Revision as of 16:38, 6 September 2009 Mikep (Talk | contribs) ← Previous diff |
Revision as of 04:26, 2 February 2014 Connor Mead (Talk | contribs) Next diff → |
||
Line 24: | Line 24: | ||
[[Category:Scripting Callbacks]] | [[Category:Scripting Callbacks]] | ||
+ | |||
+ | [[fr:OnFilterScriptInit]] |
Revision as of 04:26, 2 February 2014
Description:
This callback is called when a filterscript is loaded, it is only called inside the filterscript which is starting.
This callback has no parameters.
Return Values:
This function does not return any specific values.
public OnFilterScriptInit() { print("\n--------------------------------------"); print(" My script 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.