Dialog doesn't respond.
#7

Don't use "if(response)" outside of a dialog. By that I mean:

PHP код:
public OnDialogResponse()
{
    if(
response)
    {
        if(
dialogid == DIALOG_ID)
        {
            return;
        }
    }
    return 
0;
} 
Quote:

Returning 0 in this callback will pass the dialog to another script in case no matching code were found in your gamemode's callback.

Returning zero couldn't be the problem.
Reply


Messages In This Thread
Dialog doesn't respond. - by MarkNelson - 06.12.2017, 08:31
Re: Dialog doesn't respond. (Help please..) - by AlexMSK - 06.12.2017, 08:38
Re: Dialog doesn't respond. (Help please..) - by MarkNelson - 06.12.2017, 08:41
Re: Dialog doesn't respond. (Help please..) - by AlexMSK - 06.12.2017, 08:42
Re: Dialog doesn't respond. (Help please..) - by MarkNelson - 06.12.2017, 08:44
Re: Dialog doesn't respond. (Help please..) - by AlexMSK - 06.12.2017, 08:46
Re: Dialog doesn't respond. (Help please..) - by Kane - 06.12.2017, 08:46
Re: Dialog doesn't respond. (Help please..) - by AlexMSK - 06.12.2017, 08:50
Re: Dialog doesn't respond. (Help please..) - by Kane - 06.12.2017, 08:52
Re: Dialog doesn't respond. (Help please..) - by MarkNelson - 06.12.2017, 08:55

Forum Jump:


Users browsing this thread: 1 Guest(s)