SA-MP Forums Archive
[ajuda]TextDraw Nao aparecendo SIMPLES - 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 Nao aparecendo SIMPLES (/showthread.php?tid=333292)



[ajuda]TextDraw Nao aparecendo SIMPLES - lyllrasta - 10.04.2012

Bom fiz um text Draw e talz Com o FS do Zama... (Seila o nome de cуr)
Coloquei ele no Gm e talz Mais quando entro ele nao aparece.
eu uso a versгo 3.e R6

pawn Код:
Textdraw0 = TextDrawCreate(560.000000, 106.000000, "~p~Sao Paulo ~y~RP");
    TextDrawAlignment(Textdraw0, 2);
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 0);
    TextDrawLetterSize(Textdraw0, 0.559999, 2.000000);
    TextDrawColor(Textdraw0, -1);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawUseBox(Textdraw0, 1);
    TextDrawBoxColor(Textdraw0, 70);
    TextDrawTextSize(Textdraw0, 19.000000, 113.000000);

    Textdraw1 = TextDrawCreate(1.000000, 355.000000, "~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~  ~n~ ~n~ ~n~");
    TextDrawBackgroundColor(Textdraw1, 255);
    TextDrawFont(Textdraw1, 1);
    TextDrawLetterSize(Textdraw1, 0.500000, 1.000000);
    TextDrawColor(Textdraw1, -1);
    TextDrawSetOutline(Textdraw1, 0);
    TextDrawSetProportional(Textdraw1, 1);
    TextDrawSetShadow(Textdraw1, 1);
    TextDrawUseBox(Textdraw1, 1);
    TextDrawBoxColor(Textdraw1, 120);
    TextDrawTextSize(Textdraw1, 638.000000, 13.000000);

    Textdraw2 = TextDrawCreate(1.000000, 1.000000, "~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~  ~n~ ~n~ ~n~");
    TextDrawBackgroundColor(Textdraw2, 255);
    TextDrawFont(Textdraw2, 1);
    TextDrawLetterSize(Textdraw2, 0.500000, 1.000000);
    TextDrawColor(Textdraw2, -1);
    TextDrawSetOutline(Textdraw2, 0);
    TextDrawSetProportional(Textdraw2, 1);
    TextDrawSetShadow(Textdraw2, 1);
    TextDrawUseBox(Textdraw2, 1);
    TextDrawBoxColor(Textdraw2, 120);
    TextDrawTextSize(Textdraw2, 638.000000, 13.000000);
Posso Colocar ele em qualquer callback que nao aparece de geito nem 1 :S
alguem da uma luz ae ?


Re: [ajuda]TextDraw Nao aparecendo SIMPLES - BreakDriFT - 10.04.2012

OnPlayerConnect ou outra Public
pawn Код:
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);

Esse code que voce mando no OnGamemodeiniT


Re: [ajuda]TextDraw Nao aparecendo SIMPLES - lyllrasta - 10.04.2012

Quote:
Originally Posted by BreakDriFT
Посмотреть сообщение
OnPlayerConnect ou outra Public
pawn Код:
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);

Esse code que voce mando no OnGamemodeiniT
Bom ta no OgameModeInit Sim.
coloquei e tal'z mais Sу apareceu o Texto
Nгo apareceu o box a cor entre tudo.
Sу aparece u Texto.


Caso tem como textar no seu game mode seila qualquer coisa.
faz esse favor pra mim.
testei com o grandlarc e um outro aqui


Re: [ajuda]TextDraw Nao aparecendo SIMPLES - BreakDriFT - 10.04.2012

Tente colocar a Cor
Mais ao menos assim:
pawn Код:
TextDrawBoxColor(nomtext, 0xffffffff);
As text draw tbmm nгo vai com minha cara T_T


Re: [ajuda]TextDraw Nao aparecendo SIMPLES - .FuneraL. - 10.04.2012

Quote:
Originally Posted by lyllrasta
Посмотреть сообщение
Bom ta no OgameModeInit Sim.
coloquei e tal'z mais Sу apareceu o Texto
Nгo apareceu o box a cor entre tudo.
Sу aparece u Texto.


Caso tem como textar no seu game mode seila qualquer coisa.
faz esse favor pra mim.
testei com o grandlarc e um outro aqui
Se quiser aquela caixa preta em volta do texto use isto :

pawn Код:
TextDrawUseBox("Text", 1);
TextDrawBoxColor("Text", "Color");



Re: [ajuda]TextDraw Nao aparecendo SIMPLES - lyllrasta - 10.04.2012

Quote:
Originally Posted by BreakDriFT
Посмотреть сообщение
Tente colocar a Cor
Mais ao menos assim:
pawn Код:
TextDrawBoxColor(nomtext, 0xffffffff);
As text draw tbmm nгo vai com minha cara T_T
Arrumei man.
(:
valeu +rep pra tu.


Re: [ajuda]TextDraw Nao aparecendo SIMPLES - BreakDriFT - 10.04.2012

Quote:
Originally Posted by lyllrasta
Посмотреть сообщение
Arrumei man.
(:
valeu +rep pra tu.
Nads =)