Least 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: Least timer (
/showthread.php?tid=554520)
Least timer -
DavidBilla - 04.01.2015
If i create a 1 millisecond repeating timer where i check basic logics
Like
if(a>b) CallSomeFunction();
Will it cause any issues?
Btw how much time(fastest possible) does a single bullet from minigun can be shot?
Re: Least timer -
dominik523 - 04.01.2015
Well OnPlayerUpdate is called like every 10ms and people still say don't put too much code under it so I guess making 1 ms timer is bad.
Oh, and that thing with minigun, I have no idea.