11.09.2011, 09:52
Check if there is no response IE,
If there is a response the first button (or a listitem) was pressed, otherwise button 2 has been pressed or the dialog cancelled.
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;
}

