SA-MP Forums Archive
[Ajuda] Text Draw [ REP ] - 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] Text Draw [ REP ] (/showthread.php?tid=456097)



Text Draw [ REP ] - Standby - 04.08.2013

Bom acho que essa pode ser uma ajuda imbecil mais eu queria saber como eu deixo a cor da Text Draw com as letras bem clarinhas que nem aqui
http://i.imgur.com/h5Ng8mV.png

Vlw

pawn Код:
new Text:Textdraw0;


Textdraw0 = TextDrawCreate(229.000000, 404.000000, "~g~Bem ~r~Vindo ~y~ao ~w~Servidor ~p~- /comandos");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 2.399999);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetSelectable(Textdraw0, 0);



Re: Text Draw [ REP ] - -Don Corleone - 04.08.2013

esse ~g~ representa a cor Green(Verde)
para que ela fique mais clara adicione dois ~h~ depois do green

Assim:
pawn Код:
Textdraw0 = TextDrawCreate(229.000000, 404.000000, "~g~~h~~h~Bem ~r~~h~~h~Vindo ~y~~h~~h~ao ~w~Servidor ~p~~h~~h~- /comandos");



Re: Text Draw [ REP ] - [A]rray - 04.08.2013

~h~
exemplo:
pawn Код:
new
    sStringFrm[128];

format(sStringFrm, sizeof(sStringFrm), "~g~estб escuro ~h~agora clareou ~h~agora ainda mais ~h~e agora mais ainda!");
GameTextForPlayer(//...);
Sу que use no textdraw.


Re: Text Draw [ REP ] - Standby - 04.08.2013

cara funciono certinho [ + REP ], tipo se eu quiser clarear + a text draw uso ~h~ certo?


Re: Text Draw [ REP ] - [A]rray - 04.08.2013

Certo, veja meu post.
Cada vez que usar ~h~ vai clarear mais ainda amigo.