23.05.2012, 08:06
Go through your other scripts and make sure you return zero at the end of all your "OnDialogResponse" callbacks.
It's fine to return one if a dialog is found but you must return zero at the end if no dialogs were found. Sounds silly but try it i'll bet it works. (assuming your dialog ids are correct)
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 0;//this is what a default OnDialogResponse (when you click new) should really look like.
}
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 5)
{
//this is fine because a dialog was found
return 1;
}
return 0;//but the final return should be zero
}