Respond to another Dialog.
#10

Can I use for example:
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case Dialog1:
        {
            if(response)
            {
                switch(listitem)
                {
                    case 0://When he clicks on first item
                    {
                        // Can I use here: "ShowPlayerdialog(playerid,  "/weapon dialog id here" ----------);
                    }
                    case 1://When he clicks on second item
                    {
                        //open the next dialog.
                    }
                }
            }
        }
        case "/weapon dialog id here":
        {
            // Stuff here.
        }
    }
    return 1;
}
Reply


Messages In This Thread
Respond to another Dialog. - by BleverCastard - 07.01.2012, 17:04
Re: Respond to another Dialog. - by BlackWolf120 - 07.01.2012, 17:10
Re: Respond to another Dialog. - by BleverCastard - 07.01.2012, 17:10
Re: Respond to another Dialog. - by BlackWolf120 - 07.01.2012, 17:29
Re: Respond to another Dialog. - by BleverCastard - 07.01.2012, 17:33
Re: Respond to another Dialog. - by BlackWolf120 - 07.01.2012, 17:37
Re: Respond to another Dialog. - by BleverCastard - 07.01.2012, 17:41
Re: Respond to another Dialog. - by BleverCastard - 07.01.2012, 17:49
Re: Respond to another Dialog. - by BlackWolf120 - 07.01.2012, 18:00
Re: Respond to another Dialog. - by BleverCastard - 07.01.2012, 18:03

Forum Jump:


Users browsing this thread: 3 Guest(s)