main reasons for lag? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: main reasons for lag? (
/showthread.php?tid=403447)
main reasons for lag? -
GoldZoroGrab - 30.12.2012
hey can you list me main reason to make my server lag? and how to get rid from it?
Re: main reasons for lag? -
Feastahashi - 30.12.2012
OnPlayerUpdate, SetTimer, SetTimerEx, amount of objects...
Re: main reasons for lag? -
GoldZoroGrab - 30.12.2012
read my topic more than once bro
Re: main reasons for lag? -
Konstantinos - 30.12.2012
He told you what it causes the lag. What you can do is to use as less as timers you can, and use OnPlayerUpdate callback if you do know how to make something on it because it is called many times and if you have something there that it is incorrect, it will cause server lag.
Re: main reasons for lag? -
GoldZoroGrab - 30.12.2012
what about strings? if i put much strings amount it cause lags?
Re: main reasons for lag? -
GoldZoroGrab - 01.01.2013
hello
what about strings? if i put much strings amount it cause lags?
Re: main reasons for lag? -
Camorra - 01.01.2013
String wont lag ur server, as he told you, timers and updates.