Dialog cases.
#3

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    // Select the proper dialog to process
    switch (dialogid)
    {
        case /*dialog id here*/:
        {
               //do something
        }
        case/*dialog id here*/:
        {
             //do something here
        }
        return 1;
}
Reply


Messages In This Thread
Dialog cases. - by Dan. - 29.06.2012, 18:36
Re: Dialog cases. - by Cxnnor - 29.06.2012, 18:42
Re: Dialog cases. - by newbienoob - 29.06.2012, 18:43
Re: Dialog cases. - by Cxnnor - 29.06.2012, 18:49
Re: Dialog cases. - by Dan. - 29.06.2012, 18:59
Re: Dialog cases. - by [KHK]Khalid - 29.06.2012, 19:24

Forum Jump:


Users browsing this thread: 1 Guest(s)