timer is slow
#2

Try using a timer fix:
https://sampforum.blast.hk/showthread.php?tid=571505
https://sampforum.blast.hk/showthread.php?tid=289675

Or else make debug for your script, specially debuging the interval count. Checking after how much time it's called.

And checking the time taken to end the callback. For example:
pawn Код:
public My_Timer()
{
    new tick = GetTickCount();

    //your script starts from here
    printf("debug start: %i", GetTickCount() - tick);
   
    //your code
   
    //your script ends from here
    printf("debug end: %i", GetTickCount() - tick);
}
Reply


Messages In This Thread
timer is slow - by ToPhrESH - 08.06.2015, 02:27
Re: timer is slow - by Gammix - 08.06.2015, 02:58
Re: timer is slow - by ToPhrESH - 08.06.2015, 03:12
Re: timer is slow - by ToPhrESH - 08.06.2015, 03:42

Forum Jump:


Users browsing this thread: 2 Guest(s)