Some answers please?
#1

Hi, so my GM is almost done and I plan to open my server soon. When? Idk, but soon.
Since I'll be starting I'll get a normal host, not a dedicated one so I'll have to share resources with idk how many other server thus I want to make my server as light as possible.

1st) I don't use OnPlayerUpdate. Instead I use an infinite loop that is called every .5s but I have ALOT of things there, can this cause lag?

2nd) I use alot of things like that:
Код:
g_God[MAX_PLAYERS];
I guess by now I have over 10 of those. Can the massive use of those cause lag?

3rd) Apart from having something being called alot, what other things can cause lag/slow downs that I should evade?
Reply


Messages In This Thread
Some answers please? - by Dragonic - 03.06.2017, 02:17
Re: Some answers please? - by Abagail - 03.06.2017, 02:37
Re: Some answers please? - by Dragonic - 03.06.2017, 02:43
Re: Some answers please? - by Abagail - 03.06.2017, 02:50
Re: Some answers please? - by Dragonic - 03.06.2017, 03:04
Re: Some answers please? - by Abagail - 03.06.2017, 03:30

Forum Jump:


Users browsing this thread: 1 Guest(s)