Lag related to timers.
#1

Hello fellow scripters,

I am working on a timer script and I have a few questions about timers. On the SA:MP wiki, they tell you that timers would cause increase youre amount of cpu/memory usage if youґd use many of them.(lag)

1. Does the repeat time of a timer have influence on the amount of lag caused by timers? For instance, you have a timer wich repeats something every second, and a timer that repeats something every 10 ms. Does the 10 ms use more cpu/memory space?

2. Is the amount of functions you call in `public timername()` related to causing more or less lag? Would calling more functions there influence the cpu/memory usage?

3.Scripting question: Is it possible to create youre own custom animations with PAWN?

Thanks alot in advance.

Cheers,
Cpt.Falcon
Reply


Messages In This Thread
Lag related to timers. - by Cpt.Falcon - 16.03.2012, 20:45
Re: Lag related to timers. - by new121 - 16.03.2012, 20:55
Re: Lag related to timers. - by Babul - 16.03.2012, 21:30
AW: Lag related to timers. - by Littl3j0hNy - 18.03.2012, 01:57

Forum Jump:


Users browsing this thread: 1 Guest(s)