SA-MP Forums Archive
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: LAG (/showthread.php?tid=522286)



LAG - Akcent_Voltaj - 26.06.2014

why do all players have lag when a player connects to server??is it at Ongamemodeinit??


Re: LAG - Blast3r - 26.06.2014

It could be multiple things:


- Bad host (hosting provider with poor server specs, or you just generally having bad specs.)
- Badly optimized script (using waaaay too many timers, not killing them, making sure you're using good saving systems, command proccesors, and also making sure the code is clean and especially isn't filled with loose intendation warnings.)


Re : LAG - Clad - 26.06.2014

It depends on the Host you have.


Re: LAG - Akcent_Voltaj - 26.06.2014

no warnings.. but i have some SetDynamicObjectMaterial at ongamemodeinit.. could that be it??i have materials..

PS: its my server. other servers dont have lag(save host)


Re: LAG - Akcent_Voltaj - 26.06.2014

could it be from a map??