if(dialogid == 12357)
{
if(response == 0)
{
switch(listitem)
{
case 0:
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"{00CCFF}Q-RP: {FFFFFF}Change Rank-Name (1)","Please insert your new rank name (1) below:","> Next", "");
}
case 1:
{
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"{00CCFF}Q-RP: {FFFFFF}Change Rank-Name (2)","Please insert your new rank name (2) below:","> Next", "");
}
case 2:
{
ShowPlayerDialog(playerid,3,DIALOG_STYLE_INPUT,"{00CCFF}Q-RP: {FFFFFF}Change Rank-Name (3)","Please insert your new rank name (3) below:","> Next", "");
}
case 3:
{
ShowPlayerDialog(playerid,4,DIALOG_STYLE_INPUT,"{00CCFF}Q-RP: {FFFFFF}Change Rank-Name (4)","Please insert your new rank name (4) below:","> Next", "");
}
case 4:
{
ShowPlayerDialog(playerid,5,DIALOG_STYLE_INPUT,"{00CCFF}Q-RP: {FFFFFF}Change Rank-Name (5)","Please insert your new rank name (5) below:","> Next", "");
}
case 5:
{
ShowPlayerDialog(playerid,6,DIALOG_STYLE_INPUT,"{00CCFF}Q-RP: {FFFFFF}Change Rank-Name (6)","Please insert your new rank name (6) below:","> Next", "");
}
}
}
}
format(string,sizeof(string),"{FFCC66}- {FFFFFF}%s ({FFCC66}1{FFFFFF})\n{FFCC66}- {FFFFFF}%s ({FFCC66}2{FFFFFF})\n{FFCC66}- {FFFFFF}%s ({FFCC66}3{FFFFFF})\n{FFCC66}- {FFFFFF}%s ({FFCC66}4{FFFFFF})\n{FFCC66}- {FFFFFF}%s ({FFCC66}5{FFFFFF})\n{FFCC66}- {FFFFFF}%s ({FFCC66}6{FFFFFF})",FactionInfo[PlayerInfo[playerid][pMember]][fRank1],
FactionInfo[PlayerInfo[playerid][pMember]][fRank2],FactionInfo[PlayerInfo[playerid][pMember]][fRank3],FactionInfo[PlayerInfo[playerid][pMember]][fRank4],FactionInfo[PlayerInfo[playerid][pMember]][fRank5],FactionInfo[PlayerInfo[playerid][pMember]][fRank6]);
ShowPlayerDialog(playerid,12357,DIALOG_STYLE_LIST,"{00CCFF}Q-RP: {FFFFFF}Manage Ranks",string,"< Back", "Select >");
if(response == 1)
if(response == 0)
1 for first button and 0 for second button |
if(!response)
The first button takes you back to the previous dialog- If you want, you can come ingame and see what I mean?
|
Input the car id: 520 [Craft]// 1 | [Cancel]// 2
Input rank name: [< BACK] | [NEXT >]
Input rank name: [< NEXT] | [BACK >]