Question > Timers & Loops & Lag
#1

Hello
i have some questions...

1. if i set a 1 second repeat timer that call a callback that have 3 loop (between 0 - 50 >> for(new i; i < 50 .... etc)
it will be make lag on server ? if yes how much and how can i decrease it ?

2. a 300 milisecond repeat timer that make a loop between players who in race ? makes lag ?!

3.In total, repeat timers and loop between players, for example 8 timer which repeat every 500 milisecond and loop players, can lag server ?

Thank you in advance !
Reply
#2

The lesser interval of the timer and the more loops in its callback, the more lag you have.
Reply
#3

@ATGOggy Thank you for information. REP++

if someone else have different idea, please reply !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)