23.02.2019, 17:00
You are using textdraws incorrectly! Any that don't change should be regular textdraws only per-player textdraws that change should be player textdraws.
Here is one for starters, this gets created every time a player connects and additionally wastes a player textdraw slot for nothing. Use regular textdraws.
You shouldn't need to delete global textdraws except in a very specific circumstance where you need lots of them and they are displayed globally for all players. Making that situation even rarer would be having enough systems that you would go over the 2000 textdraw limit. For player textdraws creating/deleting method is scaled lower so chances are if you have say 20 player textdraws for output it would probably be a good idea to delete them when not using that system.
About your question, there is not enough code here posted to make even a wild guess. Only thing I can say is use textdraws correctly that will help a lot to avoid any issues.
Here is one for starters, this gets created every time a player connects and additionally wastes a player textdraw slot for nothing. Use regular textdraws.
Код:
Textdraw25 = CreatePlayerTextDraw(playerid, 25.000000, 206.000000, "Our forums 2r-rp.com. ~n~"); PlayerTextDrawBackgroundColor(playerid, Textdraw25, 255); PlayerTextDrawFont(playerid, Textdraw25, 2); PlayerTextDrawLetterSize(playerid, Textdraw25, 0.259999, 0.799997); PlayerTextDrawColor(playerid, Textdraw25, -1); PlayerTextDrawSetOutline(playerid, Textdraw25, 1); PlayerTextDrawSetProportional(playerid, Textdraw25, 1); PlayerTextDrawSetSelectable(playerid, Textdraw25, 0);
About your question, there is not enough code here posted to make even a wild guess. Only thing I can say is use textdraws correctly that will help a lot to avoid any issues.