SA-MP Forums Archive
[HELP] Keypad.inc don't open clickable textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [HELP] Keypad.inc don't open clickable textdraw (/showthread.php?tid=332940)



[HELP] Keypad.inc don't open clickable textdraw - Abravanel - 09.04.2012

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


Re: [HELP] Keypad.inc don't open clickable textdraw - Abravanel - 09.04.2012

up, someone help me please!


Re: [HELP] Keypad.inc don't open clickable textdraw - Abravanel - 09.04.2012

I use 0.3e RC6! :/


Re: [HELP] Keypad.inc don't open clickable textdraw - DartakousLien - 09.04.2012

see if it has reached the maximum number of TextDraw


Re: [HELP] Keypad.inc don't open clickable textdraw - Abravanel - 09.04.2012

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