[Ajuda] Textdraw string
#2

pawn Код:
ґSetTimer("UpdateTimer", 1000, true);
        Textdraw[6][i] = TextDrawCreate(488.125000, 429.333312, " ");
    TextDrawLetterSize(Textdraw[6][i], 0.449999, 1.600000);
    TextDrawAlignment(Textdraw[6][i], 1);
    TextDrawColor(Textdraw[6][i], -2139062017);
    TextDrawSetShadow(Textdraw[6][i], 0);
    TextDrawSetOutline(Textdraw[6][i], 1);
    TextDrawBackgroundColor(Textdraw[6][i], 51);
    TextDrawFont(Textdraw[6][i], 3);
    TextDrawSetProportional(Textdraw[6][i], 1);
    }
Ali onde esta criado as text tente so deixar um espaзo. Se o problema persistir, Poste.

Tenho um aqui й baseado assim.

pawn Код:
forward AtualizarScore();
public AtualizarScore()
{
    for(new x; x < MAX_PLAYERS; x ++)
    {
        if(!IsPlayerConnected(x)) continue;
        new STR[9000];
        format(STR, 9000, "~w~scores: ~g~%d ~w~- ping: ~b~%d ~w~- fps: ~y~%d ~w~- %d/%d", GetPlayerScore(x), GetPlayerPing(x), pFPS[x], ContarJogadores(), GetMaxPlayers());
        TextDrawSetString(StatusTextDrawxD[x], STR);
    }
    return true;
}
Vocк tambem poderia criar uma so textdraw pra td isso, lado a lado ou em baxo uma da ouutra mesma.

pawn Код:
for(new xhgj = 0; xhgj < MAX_PLAYERS; xhgj++)
    {
        StatusTextDrawxD[xhgj] = TextDrawCreate(383.000000, 2.000000, "");
        TextDrawAlignment(StatusTextDrawxD[xhgj], 2);
        TextDrawBackgroundColor(StatusTextDrawxD[xhgj], 255);
        TextDrawFont(StatusTextDrawxD[xhgj], 2);
        TextDrawLetterSize(StatusTextDrawxD[xhgj], 0.210000, 1.299999);
        TextDrawColor(StatusTextDrawxD[xhgj], -1);
        TextDrawSetOutline(StatusTextDrawxD[xhgj], 1);
        TextDrawSetProportional(StatusTextDrawxD[xhgj], 1);
        TextDrawSetSelectable(StatusTextDrawxD[xhgj], 0);
    }
Reply


Messages In This Thread
Textdraw string - by ZeZin - 04.03.2015, 01:12
Re: Textdraw string - by Username1234 - 04.03.2015, 01:15
Re: Textdraw string - by n0minal - 04.03.2015, 04:46
Re: Textdraw string - by ZeZin - 07.03.2015, 23:19
Re: Textdraw string - by PT - 08.03.2015, 01:28
Re: Textdraw string - by Username1234 - 08.03.2015, 14:40
Re: Textdraw string - by PT - 08.03.2015, 14:58
Re: Textdraw string - by n0minal - 08.03.2015, 15:20
Re: Textdraw string - by Username1234 - 08.03.2015, 15:37
Re: Textdraw string - by arakuta - 08.03.2015, 15:38

Forum Jump:


Users browsing this thread: 1 Guest(s)