Sempre que eu coloco pra exibir as textdraw e as barras, a textdraw fica por cima da barra, indepedente da ordem
pawn Код:
_text3[playerid] = CreatePlayerTextDraw(playerid,610.000000, 142.000000, "~n~");
PlayerTextDrawBackgroundColor(playerid,_text3[playerid], 255);
PlayerTextDrawFont(playerid,_text3[playerid], 1);
PlayerTextDrawLetterSize(playerid,_text3[playerid], 0.500000, 0.399999);
PlayerTextDrawColor(playerid,_text3[playerid], -1);
PlayerTextDrawSetOutline(playerid,_text3[playerid], 0);
PlayerTextDrawSetProportional(playerid,_text3[playerid], 1);
PlayerTextDrawSetShadow(playerid,_text3[playerid], 1);
PlayerTextDrawUseBox(playerid,_text3[playerid], 1);
PlayerTextDrawBoxColor(playerid,_text3[playerid], 0x00000050);
PlayerTextDrawTextSize(playerid,_text3[playerid], 491.000000, -2.000000);
PlayerTextDrawSetSelectable(playerid,_text3[playerid], 0);
_text4[playerid] = CreatePlayerTextDraw(playerid,610.000000, 129.000000, "~n~");
PlayerTextDrawBackgroundColor(playerid,_text4[playerid], 255);
PlayerTextDrawFont(playerid,_text4[playerid], 1);
PlayerTextDrawLetterSize(playerid,_text4[playerid], 0.500000, 0.399999);
PlayerTextDrawColor(playerid,_text4[playerid], -1);
PlayerTextDrawSetOutline(playerid,_text4[playerid], 0);
PlayerTextDrawSetProportional(playerid,_text4[playerid], 1);
PlayerTextDrawSetShadow(playerid,_text4[playerid], 1);
PlayerTextDrawUseBox(playerid,_text4[playerid], 1);
PlayerTextDrawBoxColor(playerid,_text4[playerid], 0x00000050);
PlayerTextDrawTextSize(playerid,_text4[playerid], 491.000000, -2.000000);
PlayerTextDrawSetSelectable(playerid,_text4[playerid], 0);
_text1[playerid] = CreatePlayerTextDraw(playerid,500.000000, 126.000000, "Fome:");
PlayerTextDrawBackgroundColor(playerid,_text1[playerid], 255);
PlayerTextDrawFont(playerid,_text1[playerid], 2);
PlayerTextDrawLetterSize(playerid,_text1[playerid], 0.239999, 0.899999);
PlayerTextDrawColor(playerid,_text1[playerid], -1);
PlayerTextDrawSetOutline(playerid,_text1[playerid], 0);
PlayerTextDrawSetProportional(playerid,_text1[playerid], 0);
PlayerTextDrawSetShadow(playerid,_text1[playerid], 1);
PlayerTextDrawSetSelectable(playerid,_text1[playerid], 0);
_text2[playerid] = CreatePlayerTextDraw(playerid,500.000000, 138.000000, "sede:");
PlayerTextDrawBackgroundColor(playerid,_text2[playerid], 255);
PlayerTextDrawFont(playerid,_text2[playerid], 2);
PlayerTextDrawLetterSize(playerid,_text2[playerid], 0.239999, 0.899999);
PlayerTextDrawColor(playerid,_text2[playerid], -1);
PlayerTextDrawSetOutline(playerid,_text2[playerid], 0);
PlayerTextDrawSetProportional(playerid,_text2[playerid], 0);
PlayerTextDrawSetShadow(playerid,_text2[playerid], 1);
PlayerTextDrawSetSelectable(playerid,_text2[playerid], 0);
// Barra Fome
pFome[playerid] = CreateProgressBar(540.00, 130.00, 52.50, 0.30, 0xffdd00AA, 100.0);
pSede[playerid] = CreateProgressBar(540.00, 142.00, 52.50, 0.40, 0x00a9ffAA, 100.0);
porem o servidor nгo obedece a essa ordem, a progress й exibida antes que a box
Inverta a ordem de criaзгo de textdraw amigo. Ve se resolve.
Inverta as posiзхes e vк se da Certo jб tive o mesmo problema, mas resolvi invertendo as posiзхes