SA-MP Forums Archive
About Timer - 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: About Timer (/showthread.php?tid=603713)



About Timer - iulicxd - 26.03.2016

How to optimize?

1)On Player login (MySQL)
Код:
SecondTimer[playerid] = SetTimerEx("TimerSecond", 1000, true, "d", playerid);
OR

2)public OnPlayerSpawn
Код:
SecondTimer[playerid] = SetTimerEx("TimerSecond", 1000, true, "d", playerid);
Which is better? or Which is Faster?


Respuesta: About Timer - Thewin - 26.03.2016

Is the same shit, what function does?