15.08.2012, 09:48
pawn Код:
new ondialog[MAX_PLAYERS];
//When they type /cmds
ondialog[playerid] = 0;
//under public OnDialogRespone
if(dialogid == 1)
{
if(response)//They pressed next
{
switch(ondialog[playerid])
{
case 0:
{
ondialog[playerid]++;
ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"COmmands",/*Message*/,"NEXT","EXIT");
}
//and all other case
//for last dialog remove next button
}
}
}