Timers inaccuracy fix?
#1

I need timers in pawno to be very accurate, are there any way to fix their inaccuracy using a plugin/include?
Reply
#2

Give a try to this plugin, it fixes many things:
https://sampforum.blast.hk/showthread.php?tid=571505

You have this standalone plugin also, but you must compile it:
https://github.com/udan11/samp-plugin-timerfix

On the other hand, with fixes like those avoid running timers which execute weighty code at the same time. Stay away from this:
PHP код:
SetTimer("FuncOne"1000true);
SetTimer("FuncTwo"1000true); 
When running weighty code at once the server gets into a "sleep" state, that might cause desync between players since the script is single thread.
Reply
#3

Timers are really inaccurate, try using YSI_Timer for more accurate timers
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)