[Ajuda] Textdraw nгo estб ficando clicбvel
#1

Seguinte galera, criei um login em textdraw, mas na hora de deixar a textdraw clicбvel nгo estб dando, olhe as textdraw:

PHP код:
    textTelaLogin[12] = TextDrawCreate(36.250000187.833267"Logar");
    
TextDrawLetterSize(textTelaLogin[12], 0.4499991.600000);
    
TextDrawTextSize(textTelaLogin[12], 1.87500010.000000);
    
TextDrawAlignment(textTelaLogin[12], 1);
    
TextDrawColor(textTelaLogin[12], -1);
    
TextDrawSetShadow(textTelaLogin[12], 0);
    
TextDrawSetOutline(textTelaLogin[12], 1);
    
TextDrawBackgroundColor(textTelaLogin[12], 51);
    
TextDrawFont(textTelaLogin[12], 3);
    
TextDrawSetProportional(textTelaLogin[12], 1);
    
TextDrawSetSelectable(textTelaLogin[12], true);
    
textTelaLogin[13] = TextDrawCreate(20.375000226.749893"Registrar");
    
TextDrawLetterSize(textTelaLogin[13], 0.4499991.600000);
    
TextDrawTextSize(textTelaLogin[13], 53.12500010.000000);
    
TextDrawAlignment(textTelaLogin[13], 1);
    
TextDrawColor(textTelaLogin[13], -1);
    
TextDrawSetShadow(textTelaLogin[13], 0);
    
TextDrawSetOutline(textTelaLogin[13], 1);
    
TextDrawBackgroundColor(textTelaLogin[13], 51);
    
TextDrawFont(textTelaLogin[13], 3);
    
TextDrawSetProportional(textTelaLogin[13], 1);
    
TextDrawSetSelectable(textTelaLogin[13], true);
    
textTelaLogin[14] = TextDrawCreate(33.250000260.999938"Forum");
    
TextDrawLetterSize(textTelaLogin[14], 0.4499991.600000);
    
TextDrawTextSize(textTelaLogin[14], 46.25000010.000000);
    
TextDrawAlignment(textTelaLogin[14], 1);
    
TextDrawColor(textTelaLogin[14], -1);
    
TextDrawSetShadow(textTelaLogin[14], 0);
    
TextDrawSetOutline(textTelaLogin[14], 1);
    
TextDrawBackgroundColor(textTelaLogin[14], 51);
    
TextDrawFont(textTelaLogin[14], 3);
    
TextDrawSetProportional(textTelaLogin[14], 1);
    
TextDrawSetSelectable(textTelaLogin[14], true);
stock CarregarTextLogin(playerid)
{
    for(new 
x!= 29x++){
        
TextDrawShowForPlayer(playeridtextTelaLogin[x]);
    }
    
SelectTextDraw(playerid0xFFFFFFFF);
    return 
1;

Agradeзo a quem ajudar
Reply
#2

Vocк usou essa textdraw na funзгo
PHP код:
OnPlayerClickTextDraw(playeridText:clickedid
como diz nesse tutorial https://sampwiki.blast.hk/wiki/OnPlayerClickTextDraw ?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)