Question: Which callback is being FIRST executed?? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Question: Which callback is being FIRST executed?? (
/showthread.php?tid=663294)
Question: Which callback is being FIRST executed?? -
Wajttachu - 27.01.2019
I'm wondering what callback is first launching when I start server?
Is it OnGameModeInit()
I'm 99% sure that main() is being executed last??
Thanks :_)
Re: Question: Which callback is being FIRST executed?? -
Wajttachu - 27.01.2019
Quote:
Originally Posted by ******
Test it?
|
I think its OnGameModeInit, i'm not sureee xDDD
Re: Question: Which callback is being FIRST executed?? -
Bolex_ - 27.01.2019
The main function, used once when the server loads.
callback gets called when the server initializes the gamemode.
Code:
public OnGameModeInit()
Re: Question: Which callback is being FIRST executed?? -
Wajttachu - 27.01.2019
I didn't meant only these two but whole library but thx