Dissconect Very Lag
#3

Quote:
Originally Posted by PT
Посмотреть сообщение
You are destroying the same texdraw twice, and you only can destroy playertextdraws, not global textdraw..
Per-player textdraws are destroyed automatically when a player disconnects but yes - textdraws that are shown player's data (different in each player) should not be global but per-player textdraw.

The problem is that you loop 7 times through the players (6 using foreach and 1 without) when you could've used only 1 loop and do your code. Another thing is dini. It's really old and it slows down as well. Consider of changing to SQL or y_ini.
Reply


Messages In This Thread
Dissconect Very Lag - by mahardika - 04.02.2014, 07:34
Re: Dissconect Very Lag - by PT - 04.02.2014, 08:53
Re: Dissconect Very Lag - by Konstantinos - 04.02.2014, 09:01
Re: Dissconect Very Lag - by mahardika - 04.02.2014, 11:54

Forum Jump:


Users browsing this thread: 1 Guest(s)