SA-MP Forums Archive
[Ajuda] Textdraw nгo Clica! - 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 Clica! (/showthread.php?tid=644568)



Textdraw nгo Clica! - HostedPlayerss - 10.11.2017

Eu queria saber onde ta o erro o Textdraw aparece mais nгo da pra clicar tentei tentei e nгo consegui

PHP код:
    sexo_draw[13] = TextDrawCreate(220.000000260.000000"masculino");
    
TextDrawBackgroundColor(sexo_draw[13], 255);
    
TextDrawFont(sexo_draw[13], 2);
    
TextDrawLetterSize(sexo_draw[13], 0.3100001.000000);
    
TextDrawColor(sexo_draw[13], -1);
    
TextDrawSetOutline(sexo_draw[13], 0);
    
TextDrawSetProportional(sexo_draw[13], 1);
    
TextDrawSetShadow(sexo_draw[13], 0);
    
TextDrawUseBox(sexo_draw[13], 1);
    
TextDrawBoxColor(sexo_draw[13], 0);
    
TextDrawTextSize(sexo_draw[13], 290.00000010.000000);
    
TextDrawSetSelectable(sexo_draw[13], 0);
    
sexo_draw[14] = TextDrawCreate(345.000000260.000000"feminino");
    
TextDrawBackgroundColor(sexo_draw[14], 255);
    
TextDrawFont(sexo_draw[14], 2);
    
TextDrawLetterSize(sexo_draw[14], 0.3100001.000000);
    
TextDrawColor(sexo_draw[14], -1);
    
TextDrawSetOutline(sexo_draw[14], 0);
    
TextDrawSetProportional(sexo_draw[14], 1);
    
TextDrawSetShadow(sexo_draw[14], 0);
    
TextDrawUseBox(sexo_draw[14], 1);
    
TextDrawBoxColor(sexo_draw[14], 0);
    
TextDrawTextSize(sexo_draw[14], 404.00000010.000000);
    
TextDrawSetSelectable(sexo_draw[14], 0);
        for(new 
13sizeof(sexo_draw); i++) { TextDrawSetSelectable(sexo_draw[i], true); } 



Re: Textdraw nгo Clica! - SnowBorn - 10.11.2017

Ai deferencia..
Tente pegar um sistema base e vai mechendo aconselho fazer isso ou a perguntar a alguйm que saiba.

~[NrV]Snow


Re: Textdraw nгo Clica! - Jorginhoda12 - 10.11.2017

OnPlayerClickTextDraw


Re: Textdraw nгo Clica! - MrEdu - 10.11.2017

https://sampwiki.blast.hk/wiki/SelectTextdraw


Re: Textdraw nгo Clica! - MediaCL - 14.11.2017

Tente:
Quote:

sexo_draw[13] = TextDrawCreate(220.000000, 260.000000, "masculino");
TextDrawBackgroundColor(sexo_draw[13], 255);
TextDrawFont(sexo_draw[13], 2);
TextDrawLetterSize(sexo_draw[13], 0.310000, 1.000000);
TextDrawColor(sexo_draw[13], -1);
TextDrawSetOutline(sexo_draw[13], 0);
TextDrawSetProportional(sexo_draw[13], 1);
TextDrawSetShadow(sexo_draw[13], 0);
TextDrawUseBox(sexo_draw[13], 1);
TextDrawBoxColor(sexo_draw[13], 0);
TextDrawTextSize(sexo_draw[13], 290.000000, 10.000000);
TextDrawSetSelectable(sexo_draw[13], 1);

sexo_draw[14] = TextDrawCreate(345.000000, 260.000000, "feminino");
TextDrawBackgroundColor(sexo_draw[14], 255);
TextDrawFont(sexo_draw[14], 2);
TextDrawLetterSize(sexo_draw[14], 0.310000, 1.000000);
TextDrawColor(sexo_draw[14], -1);
TextDrawSetOutline(sexo_draw[14], 0);
TextDrawSetProportional(sexo_draw[14], 1);
TextDrawSetShadow(sexo_draw[14], 0);
TextDrawUseBox(sexo_draw[14], 1);
TextDrawBoxColor(sexo_draw[14], 0);
TextDrawTextSize(sexo_draw[14], 404.000000, 10.000000);
TextDrawSetSelectable(sexo_draw[14], 1);




Re: Textdraw nгo Clica! - pWesley - 14.11.2017

Quote:
Originally Posted by MediaCL
Посмотреть сообщение
Tente:
pawn Код:
sexo_draw[13] = TextDrawCreate(220.000000, 260.000000, "masculino");
TextDrawBackgroundColor(sexo_draw[13], 255);
TextDrawFont(sexo_draw[13], 2);
TextDrawLetterSize(sexo_draw[13], 0.310000, 1.000000);
TextDrawColor(sexo_draw[13], -1);
TextDrawSetOutline(sexo_draw[13], 0);
TextDrawSetProportional(sexo_draw[13], 1);
TextDrawSetShadow(sexo_draw[13], 0);
TextDrawUseBox(sexo_draw[13], 1);
TextDrawBoxColor(sexo_draw[13], 0);
TextDrawTextSize(sexo_draw[13], 290.000000, 10.000000);
TextDrawSetSelectable(sexo_draw[13], 1);

sexo_draw[14] = TextDrawCreate(345.000000, 260.000000, "feminino");
TextDrawBackgroundColor(sexo_draw[14], 255);
TextDrawFont(sexo_draw[14], 2);
TextDrawLetterSize(sexo_draw[14], 0.310000, 1.000000);
TextDrawColor(sexo_draw[14], -1);
TextDrawSetOutline(sexo_draw[14], 0);
TextDrawSetProportional(sexo_draw[14], 1);
TextDrawSetShadow(sexo_draw[14], 0);
TextDrawUseBox(sexo_draw[14], 1);
TextDrawBoxColor(sexo_draw[14], 0);
TextDrawTextSize(sexo_draw[14], 404.000000, 10.000000);
TextDrawSetSelectable(sexo_draw[14], 1);
Experimenta fazer o que ele disse, e use SelectTextDraw para poder deixar clicбvel. E use OnPlayerClickTextDraw para fazer as funзхes.


Re: Textdraw nгo Clica! - HostedPlayerss - 15.11.2017

Quote:
Originally Posted by MediaCL
Посмотреть сообщение
Tente:
nгo deu certo, so aparece a imagem e nгo aparece o mouse e nem da pra clica, eu jб tinha botado no OnPlayerClickTextDraw


Re: Textdraw nгo Clica! - Whoo - 15.11.2017

Leia todo este post que vocк vai conseguir fazer:
https://sampforum.blast.hk/showthread.php?tid=615824


Re: Textdraw nгo Clica! - HostedPlayerss - 15.11.2017

Quote:
Originally Posted by pWesley
Посмотреть сообщение
Experimenta fazer o que ele disse, e use SelectTextDraw para poder deixar clicбvel. E use OnPlayerClickTextDraw para fazer as funзхes.
vlw resolvi era sу colocar SelectTextDraw vlw a todos