iZCMD + Dialog = Unkown Command?
#4

Quote:
Originally Posted by saffierr
Посмотреть сообщение
You have to script under the "OnDialogResponse" either.
I do.

Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_TEST)
    {
        if(response)
        {
            SendClientMessage(playerid, -1, "That's cool");
        }
        else
        {
            Kick(playerid);
        }
        return 1;
    }
    return 0;
}
Quote:
Originally Posted by Tammy
Посмотреть сообщение
Make sure you don't have "public OnPlayerCommandText(playerid)" if you are using ZCMD.
I am aware of this, I am only using the OnPlayerCommandPerformed callback.

That's why I find this to be extremely odd, there are no errors, nothing.
Reply


Messages In This Thread
iZCMD + Dialog = Unkown Command? - by Cepillado - 29.12.2015, 23:45
Re: iZCMD + Dialog = Unkown Command? - by saffierr - 30.12.2015, 02:30
Re: iZCMD + Dialog = Unkown Command? - by Tamy - 30.12.2015, 05:11
Respuesta: Re: iZCMD + Dialog = Unkown Command? - by Cepillado - 30.12.2015, 06:17
Re: iZCMD + Dialog = Unkown Command? - by Karan007 - 30.12.2015, 06:50
Re: iZCMD + Dialog = Unkown Command? - by iKarim - 30.12.2015, 06:56
Respuesta: iZCMD + Dialog = Unkown Command? - by Cepillado - 30.12.2015, 07:41
Re: iZCMD + Dialog = Unkown Command? - by ProDude - 30.12.2015, 07:57
Re: iZCMD + Dialog = Unkown Command? - by Karan007 - 30.12.2015, 08:39
Respuesta: Re: iZCMD + Dialog = Unkown Command? - by Cepillado - 30.12.2015, 08:45

Forum Jump:


Users browsing this thread: 1 Guest(s)