OnGameModeInit
From SA-MP Wiki
(Difference between revisions)
Revision as of 18:35, 6 April 2013 Smithy (Talk | contribs) ← Previous diff |
Revision as of 04:27, 2 February 2014 Connor Mead (Talk | contribs) Next diff → |
||
Line 24: | Line 24: | ||
[[de:OnGameModeInit]] | [[de:OnGameModeInit]] | ||
+ | [[fr:OnGameModeInit]] |
Revision as of 04:27, 2 February 2014
Description:
This callback is triggered when the gamemode starts.
This callback has no parameters.
Return Values:
This callback does not handle returns.
public OnGameModeInit() { print("Gamemode started!"); return 1; }
Related Callbacks
The following callbacks might be useful as well, as they are related to this callback in one way or another.
- OnGameModeExit: Called when a gamemode ends.
- OnFilterScriptInit: Called when a filterscript is loaded.
- OnFilterScriptExit: Called when a filterscript is unloaded.