Qustion for ShowPlayerDialog
#2

Check if there is no response IE,
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    switch(dialogid)
    {
        case 0:
        {
            if(response)
            {
            }
            else//second button pressed or dialog cancelled.
            {
                //your stuff here
            }
        }
    }
    return 1;
}
If there is a response the first button (or a listitem) was pressed, otherwise button 2 has been pressed or the dialog cancelled.
Reply


Messages In This Thread
Qustion for ShowPlayerDialog - by Join7 - 11.09.2011, 09:49
Re: Qustion for ShowPlayerDialog - by iggy1 - 11.09.2011, 09:52
Re: Qustion for ShowPlayerDialog - by Join7 - 11.09.2011, 10:01
Re: Qustion for ShowPlayerDialog - by iggy1 - 11.09.2011, 10:02
Re: Qustion for ShowPlayerDialog - by Join7 - 11.09.2011, 10:17
Re: Qustion for ShowPlayerDialog - by AeroBlast - 11.09.2011, 10:21
Re: Qustion for ShowPlayerDialog - by Join7 - 11.09.2011, 10:35
Re: Qustion for ShowPlayerDialog - by Babul - 11.09.2011, 10:54
Re: Qustion for ShowPlayerDialog - by Join7 - 11.09.2011, 11:15

Forum Jump:


Users browsing this thread: 1 Guest(s)