15.05.2011, 14:22
... 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 ..........
}
}
}