callback gets called twice on include - 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: callback gets called twice on include (
/showthread.php?tid=580903)
callback gets called twice on include -
caoraivoso3 - 09.07.2015
well i use a function to call a callback and that make the callback gets called on the gamemode and on the include.
Any ideas to limit this to gamemode only?
Re: callback gets called twice on include -
SoFahim - 09.07.2015
didn't understand what you ask for
Re: callback gets called twice on include -
Threshold - 09.07.2015
Well, first of all, what callback is it?
If you don't want it to be called in both, then why have the callback in both the include and gamemode in the first place??