SA-MP Forums Archive
[Ajuda] Timers - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Timers (/showthread.php?tid=580356)



Timers - RafaelOsio - 04.07.2015

Olб amigos. Minha preciso da ajuda de vocкs com um de meus Timers. Um deles й responsбvel pelo sistema de AFK. Ele estб configurado para carregar a minha public de 1 em 1 segundo. Mas em um teste, constatei que ele estб carregando de meio em meio segundo. Tem vez que ele se estabiliza, mas quase sempre estб desta forma. O mesmo ocorre com meu relуgio UP. No relуgio, diminui 2 segundos, enquanto se passa 1 segundo. O que pode estar ocorrendo ? Nгo sei qual cуdigo postar, jб que em minha public do Timer, nгo tem nada que possa adiantar o tampo dele. Aguardo respostas


Re: Timers - PeterJane - 04.07.2015

Utilizas os timers originais?


Re: Timers - RafaelOsio - 05.07.2015

Sim, SetTimer e SetTimerEx.


Re: Timers - PeterJane - 05.07.2015

De acordo com a Wiki: "Timer intervals are not accurate (roughly 25% off)"

Como corrigir:

https://sampforum.blast.hk/showthread.php?tid=289675

ou

https://sampforum.blast.hk/showthread.php?tid=571505


Re: Timers - RafaelOsio - 05.07.2015

Quote:
Originally Posted by PeterJane
Посмотреть сообщение
De acordo com a Wiki: "Timer intervals are not accurate (roughly 25% off)"

Como corrigir:

https://sampforum.blast.hk/showthread.php?tid=289675

ou

https://sampforum.blast.hk/showthread.php?tid=571505
Deu certo. Obrigado cara.