dialog back button
#1

Im having a issue with this dialog back button it wont work .

pawn Код:
if(dialogid == DIALOG_OJAIL)
    {
        if(!response) return ShowPlayerDialog(playerid, DIALOG_OJAIL, DIALOG_STYLE_LIST,""COL_WHITE"Offline Jailing",""COL_WHITE"Players Name\nJail Time\nReason","Jail","");
        {
            switch(listitem)
            {
                case 0:
                {
                    ShowPlayerDialog(playerid, DIALOG_OJAIL+1, DIALOG_STYLE_INPUT,""COL_WHITE"Offline Jailing",""COL_WHITE"Please input the name of the player you wish to Jail.","Ok","Back");
                }
                case 1:
                {
                    ShowPlayerDialog(playerid, DIALOG_OJAIL+2, DIALOG_STYLE_INPUT,""COL_WHITE"Offline Jailing",""COL_WHITE"Please specify the amount of time(in seconds) you wish to jail this player for.","Ok","Back");
                }
                case 2:
                {
                    ShowPlayerDialog(playerid, DIALOG_OJAIL+3, DIALOG_STYLE_INPUT,""COL_WHITE"Offline Jailing",""COL_WHITE"Please input the reason why you are jailing this player.","Ok","Back");
                }
            }
        }
    }
Reply


Messages In This Thread
dialog back button - by 1fret - 09.10.2016, 23:37
Re: dialog back button - by ReshiramZekrom - 10.10.2016, 00:07
Re: dialog back button - by 1fret - 10.10.2016, 02:53
Re: dialog back button - by SickAttack - 10.10.2016, 03:20
Re: dialog back button - by 1fret - 10.10.2016, 03:56
Re: dialog back button - by SickAttack - 10.10.2016, 04:20
Re: dialog back button - by 1fret - 11.10.2016, 05:24
Re: dialog back button - by SickAttack - 11.10.2016, 05:35
Re: dialog back button - by 1fret - 11.10.2016, 05:37
Re: dialog back button - by SickAttack - 11.10.2016, 05:50

Forum Jump:


Users browsing this thread: 1 Guest(s)