[HELP] Keypad.inc don't open clickable textdraw
#1

Hello, I have a problem with my filterscript :/
I have included keypad.inc (thread here) in my script, and I did everything right, but don't open the TextDraw.
Look how I'm doing:
pawn Код:
if(dialogid == Inicio2)
    {
        if(response)
        {
            SCM(playerid, 0xF60000AA,"* Insira sua senha");
            ShowPlayerKeypad(playerid, KeyNumber, InfoBank[playerid][Password]);
        }
    }

//on callback OnPlayerKeypadInput(playerid, keypadID, type, key)

public OnPlayerKeypadInput(playerid, keypadID, type, key)
{
    if(keypadID == KeyNumber && type == KEYPAD_INPUT_GOOD)
    {
        ShowPlayerDialog(playerid, Entrando, DIALOG_STYLE_LIST,"Entrando...","Saldo\nDepositar\nSacar\n{F60000}Alterar Senha","Selecionar","Fechar");
    }
    else if(keypadID == KeyNumber && type == KEYPAD_INPUT_BAD)
    {
        SCM(playerid, -1,"* Senha Incorreta.");
    }
    return true;
}
I don't see error.
Someone help me?
Sorry for my bad english
Reply
#2

up, someone help me please!
Reply
#3

I use 0.3e RC6! :/
Reply
#4

see if it has reached the maximum number of TextDraw
Reply
#5

@DJloko
impossible, I use 1 textdraw in my script.
but I thank those who helped, I managed to solve.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)