Next Dialog >> and Back <<
#4

Quote:
pawn Код:
if(dialogid == DIALOG_COMMANDS_1)
    {
        if(response) return ShowPlayerDialog(playerid ,DIALOG_COMMANDS_2 ,DIALOG_STYLE_MSGBOX, "Account Commands", str2, ">>", "<<");
        else return 1;
    }
    if(dialogid == DIALOG_COMMANDS_2)
    {
        if(response) return ShowPlayerDialog(playerid ,DIALOG_COMMANDS_3 ,DIALOG_STYLE_MSGBOX, "Player Commands", str3, ">>", "<<");
        else return ShowPlayerDialog(playerid, DIALOG_COMMANDS_1, DIALOG_STYLE_MSGBOX, "Base Commands", str1, ">>", "Close");
    }
    if(dialogid == DIALOG_COMMANDS_3)
    {
        if(response) return ShowPlayerDialog(playerid ,DIALOG_COMMANDS_4 ,DIALOG_STYLE_MSGBOX, "Vehicle Commands", str4, "<<", "Close");
        else return ShowPlayerDialog(playerid ,DIALOG_COMMANDS_2 ,DIALOG_STYLE_MSGBOX, "Account Commands", str2, ">>", "<<");
    }
    if ( dialogid == DIALOG_COMMANDS_4)
    {
        if(response) return ShowPlayerDialog(playerid ,DIALOG_COMMANDS_3 ,DIALOG_STYLE_MSGBOX, "Player Commands", str3, ">>", "<<");
        else return 1;
    }
lmfao, yea.
Reply


Messages In This Thread
Next Dialog >> and Back << - by kbalor - 13.09.2012, 20:53
Re: Next Dialog >> and Back << - by _Khaled_ - 13.09.2012, 22:12
Re: Next Dialog >> and Back << - by Kirollos - 13.09.2012, 22:23
Re: Next Dialog >> and Back << - by _Khaled_ - 13.09.2012, 23:14

Forum Jump:


Users browsing this thread: 5 Guest(s)