2 Dialogs[inputtext]{Help}
#3

... You mean...
pawn Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"HELLO","Ex1","OK","Exit");
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"HELLO","Ex2","OK","Exit");

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1)
    {
        if(response)
        {
        //........... OK Button ............
        }
        else
        {
        //............ Exit Button ..........
        }
    }
    if(dialogid == 2)
    {
        if(response)
        {
        //........... OK Button ............
        }
        else
        {
        //............ Exit Button ..........
        }
    }
}
?
Reply


Messages In This Thread
2 Dialogs[inputtext]{Help} - by Gauloises - 15.05.2011, 13:10
AW: 2 Dialogs[inputtext]{Help} - by Gauloises - 15.05.2011, 14:13
Re: 2 Dialogs[inputtext]{Help} - by MyLife - 15.05.2011, 14:22
AW: Re: 2 Dialogs[inputtext]{Help} - by Gauloises - 15.05.2011, 14:41

Forum Jump:


Users browsing this thread: 1 Guest(s)