SA-MP Forums Archive
[AJUDA] TextDraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] TextDraw (/showthread.php?tid=300455)



[AJUDA] TextDraw - CaioMors - 30.11.2011

Alguem poderia me ajudar a colocar esse TextDraw ? abaixo do DInheiro ?

pawn Код:
// TextDraw for Players Online
    players = TextDrawCreate(54.000000, 326.000000, "_");
    TextDrawBackgroundColor(players, 255);
    TextDrawFont(players, 2);
    TextDrawLetterSize(players, 0.500000, 1.000000);
    TextDrawColor(players, -65281);
    TextDrawSetOutline(players, 1);
    TextDrawSetProportional(players, 1);
   
    for(new i; i < MAX_PLAYERS; i ++)
    {
        if(IsPlayerConnected(i))
        {
            TextDrawShowForPlayer(i, players);
        }
    }
Eu setei ele para abaixo do dinheiro mais... toda vez que logamos o server desloga o Player.


Re: [AJUDA] TextDraw - Lуs - 30.11.2011

Utilize ao inves do Loop:

pawn Код:
TextDrawShowForAll(players);



Re: [AJUDA] TextDraw - CaioMors - 30.11.2011

e existe cores sem ser pelo ? ~~


Re: [AJUDA] TextDraw - Master_Pawn - 30.11.2011

Concerteza pra isso use uma define exemplo

Код:
#define VERMELHO1  "{FF0000}"
dai na funзao poem exemplo:

Код:
SendClientMessage(i,"VERMELHO1","AJUDEI? +REP");
sacas?