Showing a certain dialog after responding to a dialog
#2

No its not
its like this -
pawn Код:
if(dialogid == SOME_DIALOG)
    {
        if(response)
        {
            switch(listitem)
            {
                case 0://Note the change in this line || listitem starts from 0 || that is if they clicked 1st item of list
                {
                    ShowPlayerDialog( etc. etc....);
                }
                case 1://Note the change in this line
                {
                    ShowPlayerDialog( etc. etc....);
                }
            }
        }
        return 1;
    }
You can read about switch-case on ******
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)