dialog (switchitem) isn't working.
#1

pawn Код:
if(dialogid == 2)
    {
        switch(listitem)
        {
            case 0:
            {
            ShowPlayerDialog(playerid,3,DIALOG_STYLE_INPUT,"Red County Citizenship","Enter your password below:","Register","Leave");
            return 1;
            }
            case 1:
            {
            SendClientMessage(playerid, RED,"You chose to quit!");
            Kick(playerid);
            }
        }
    }
It doesn't do the switching action, like doesn't kick or showplayerdialog, it just sends them to the spawn screen.
Reply


Messages In This Thread
dialog (switchitem) isn't working. - by Jack_Leslie - 30.07.2011, 06:17
Re: dialog (switchitem) isn't working. - by Shockey HD - 30.07.2011, 06:20
Re: dialog (switchitem) isn't working. - by Jack_Leslie - 30.07.2011, 06:21
Re: dialog (switchitem) isn't working. - by Kush - 30.07.2011, 06:23
Re: dialog (switchitem) isn't working. - by Jack_Leslie - 30.07.2011, 06:38
Re: dialog (switchitem) isn't working. - by Kush - 30.07.2011, 06:39

Forum Jump:


Users browsing this thread: 1 Guest(s)