Появилась такая проблема когда использую персональные текстдравы к примеру создал персональный тд денег затем под кретики нолики,в итоге текстдрав крестиков слетает с места на тд с деньгами
вот код самих тд:
Деньги
PHP код:
PlayerTextDrawDestroy(playerid,MoneyCounter[playerid]);
MoneyCounter[playerid] = CreatePlayerTextDraw(playerid,499,77,"");
PlayerTextDrawAlignment(playerid,MoneyCounter[playerid],1);
PlayerTextDrawBackgroundColor(playerid,MoneyCounter[playerid],0x000000ff);
PlayerTextDrawSetOutline(playerid,MoneyCounter[playerid],2);
PlayerTextDrawSetProportional(playerid,MoneyCounter[playerid],1);
PlayerTextDrawSetShadow(playerid,MoneyCounter[playerid],2);
PlayerTextDrawFont(playerid,MoneyCounter[playerid],3);
PlayerTextDrawLetterSize(playerid,MoneyCounter[playerid],0.5777,2.1777);
PlayerTextDrawColor(playerid,MoneyCounter[playerid],-1);
PlayerTextDrawHide(playerid,MoneyCounter[playerid]);
Крестики
PHP код:
PlayerTextDrawDestroy(playerid,Tictoke[playerid]);
Tictoke[playerid] = CreatePlayerTextDraw(playerid, 376.000000, 167.000000, "Player vS Computer~n~0:0");
PlayerTextDrawAlignment(playerid, Tictoke[playerid], 2);
PlayerTextDrawBackgroundColor(playerid, Tictoke[playerid], 255);
PlayerTextDrawFont(playerid, Tictoke[playerid], 2);
PlayerTextDrawLetterSize(playerid, Tictoke[playerid], 0.280000, 1.600000);
PlayerTextDrawColor(playerid, Tictoke[playerid], -1);
PlayerTextDrawSetOutline(playerid, Tictoke[playerid], 0);
PlayerTextDrawSetProportional(playerid, Tictoke[playerid], 1);
PlayerTextDrawSetShadow(playerid, Tictoke[playerid], 1);
Как я понял слетает именно те текстдравы которые используют
PHP код:
PlayerTextDrawSetString