Question about lag
#1

Hello, I need advices.
My script is huge and when many players gather in one place the server starts lagging - I mean the things start to slow down, the commands and messages are delaying for few seconds and also sometimes the players are bugged, because of the lag and they need to relog. Мy script is bursting with a lot of things and I need tips on how to lighten to no lag.

I'm also using a lot ot permanent timers in OnGameModeInit. I'm using foreach in stead of for(new i = 0; i < MAX_PLAYERS; i++)
I tried to split the script into several includes, but did not help.

If you have a good advices for making a huge script without a lag, please tell me.
Sorry for my bad English.
Reply


Messages In This Thread
Question about lag - by Brooks1 - 10.03.2014, 13:19
Re: Question about lag - by SPA - 10.03.2014, 13:27
Re: Question about lag - by JonathanFeitosa - 10.03.2014, 13:32
Re: Question about lag - by Brooks1 - 10.03.2014, 15:21
Re: Question about lag - by JonathanFeitosa - 10.03.2014, 15:41
Re: Question about lag - by Brooks1 - 10.03.2014, 16:08
Re: Question about lag - by Pottus - 10.03.2014, 16:12

Forum Jump:


Users browsing this thread: 1 Guest(s)