PlayAudioStreamForPlayer is not working on mine
#8

Go through your other scripts and make sure you return zero at the end of all your "OnDialogResponse" callbacks.

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    return 0;//this is what a default OnDialogResponse (when you click new) should really look like.
}
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[])
{
    if(dialogid == 5)
    {
        //this is fine because a dialog was found
        return 1;
    }
    return 0;//but the final return should be zero
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)