15.02.2011, 11:50
if so then write in case. For Example Like This
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1 && response)
{
switch(listitem)
{
case 0:
{
//Your Code HERE
}
case 1:
{
//Your Code HERE
}
case 2:
{
//Your Code HERE
}
}
} return 1;
}