[Ajuda] Textdraw nгo Clica!
#1

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); } 
Reply
#2

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

~[NrV]Snow
Reply
#3

OnPlayerClickTextDraw
Reply
#4

https://sampwiki.blast.hk/wiki/SelectTextdraw
Reply
#5

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);

Reply
#6

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.
Reply
#7

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
Reply
#8

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

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)