01.05.2012, 15:55
Just a bit of script,you can do the rest with this example.
Код:
else if(Level == 2){
ShowPlayerDialog(playerid, 20, DIALOG_STYLE_LIST, "Choose a level", "Level 1\r\nLevel 2", "SELECT", "CANCEL");
}
//
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 20)
{
if(listitem == 1)
{
ShowPlayerDialog(playerid, 13, DIALOG_STYLE_LIST, "Level 1 Commands", "/mute\r\n/unmute\r\n/mutes\r\n/freeze\r\n/respawn", "FINISH", "");
}
if(listitem == 2)
{
ShowPlayerDialog(playerid, 21, DIALOG_STYLE_LIST, "Level 2 Commands", "/fakechat\r\n/clearchat\r\n/wanted\r\n/eject", "FINISH", "");
}

