SA-MP Forums Archive
[Ajuda] TextDraw Nгo Fica Certo - 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 Nгo Fica Certo (/showthread.php?tid=548534)



TextDraw Nгo Fica Certo - DarthVeider - 30.11.2014

Olб Pessoal do forum eu queria a ajuda de vocкs porque estou criando um textdraw com a tela inteira mais nгo fica na tela inteira peguei as coodernadas da tela bem certinho pelo editor de textdraw do zamaroth e coloquei mais n fica a tela inteira fica da seguinte forma:



o codigo e esse: http://pastebin.com/C9BtjK4m

(OBS: estou postando no pastebin porque da erro se eu colocar codigo pwn)


Re: TextDraw Nгo Fica Certo - Learning - 30.11.2014

@Removido


Re: TextDraw Nгo Fica Certo - ipsLuan - 30.11.2014

Vocк fez um loop, entгo deveria ter o loop no cуdigo.

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        LOGIN[i] = TextDrawCreate(647.000000, -1.000000, "_");
                TextDrawBackgroundColor(LOGIN[i], 255);
                TextDrawAlignment(LOGIN[i], 2);
                TextDrawFont(LOGIN[i], 2);
                TextDrawLetterSize(LOGIN[i], 3.519997, 50.199806);
                TextDrawUseBox(LOGIN[i], 1);
                TextDrawColor(LOGIN[i], -1);
                TextDrawSetOutline(LOGIN[i], 1);
                TextDrawSetProportional(LOGIN[i], 1);
                TextDrawBoxColor(LOGIN[i], 0x000000FF);
                TextDrawTextSize(LOGIN[i], -4.000000, -162.000000);
    }



Re: TextDraw Nгo Fica Certo - DarthVeider - 30.11.2014

Eu sou novo em PAWNO e nгo sabia que se eu usa-se loop tinha que ter loop no codigo tambйm. +REP pra ti


Re: TextDraw Nгo Fica Certo - ipsLuan - 30.11.2014

Quote:
Originally Posted by DarthVeider
Посмотреть сообщение
Eu sou novo em PAWNO e nгo sabia que se eu usa-se loop tinha que ter loop no codigo tambйm. +REP pra ti
Mas o cуdigo estб com o loop.


Re: TextDraw Nгo Fica Certo - DarthVeider - 30.11.2014

Quote:
Originally Posted by xCR7
Посмотреть сообщение
Mas o cуdigo estб com o loop.
Eu tirei o loop e coloquei "playerid" porque e so para um player que conectar


Re: TextDraw Nгo Fica Certo - DarthVeider - 30.11.2014

eu retirei o loop mais o box nao aparece fica assim:



como eu faзo eu quero que ele fique preto


Re: TextDraw Nгo Fica Certo - Artista - 30.11.2014

Use TextDrawShowForPlayer para mostrar sua textdraw para apenas um player.
Testei a sua textdraw, tem certeza que criou ela tomando a tela inteira?


Re: TextDraw Nгo Fica Certo - ipsLuan - 30.11.2014

Cria com o Zamaroth TextDraw Editor e exporta como CreatePlayerTextDraw.


Re: TextDraw Nгo Fica Certo - DarthVeider - 30.11.2014

Quote:
Originally Posted by Artista
Посмотреть сообщение
Use TextDrawShowForPlayer para mostrar sua textdraw para apenas um player.
Testei a sua textdraw, tem certeza que criou ela tomando a tela inteira?
Sim eu utilizei a tela interia veja