19.04.2014, 11:50
Or you could use a switch, a bit better
And you must "return 0;" at the end
And you must "return 0;" at the end
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case 0:
{
//Dialog components
}
case 1:
}
return 0;
}