dialog back button
#2

Try now


PHP код:
    if(dialogid == DIALOG_OJAIL)
    {
         if(
response)
        {
               switch(
listitem)
               {
                case 
0:
                {
                       
ShowPlayerDialog(playeridDIALOG_OJAIL+1DIALOG_STYLE_INPUT,""COL_WHITE"Offline Jailing",""COL_WHITE"Please input the name of the player you wish to Jail.","Ok","Back");
                }
                case 
1:
                {
                    
ShowPlayerDialog(playeridDIALOG_OJAIL+2DIALOG_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(playeridDIALOG_OJAIL+3DIALOG_STYLE_INPUT,""COL_WHITE"Offline Jailing",""COL_WHITE"Please input the reason why you are jailing this player.","Ok","Back");
                }
            }
            return 
1;
         }
        else return 
ShowPlayerDialog(playeridDIALOG_OJAILDIALOG_STYLE_LIST,""COL_WHITE"Offline Jailing",""COL_WHITE"Players Name\nJail Time\nReason","Jail","");
    } 
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: 2 Guest(s)