Basic ZCMD problem
#1

Hi, I usually use strcmp and have no problems with it. I'm now trying to convert my script into ZCMD but I'm having problems doing the most basic of things.

pawn Код:
#include <a_samp>
#include <zcmd>
#define FILTERSCRIPT



OnPlayerCommandReceived(playerid, cmdtext[])
{
    COMMAND:testcmd(playerid, params[])
    {
        //
        return 1;
    }
    return 0;
}
pawn Код:
warning 203: symbol is never used: "OnPlayerCommandReceived"
Reply
#2

Should be

pawn Код:
CMD:blabla(playerid, params[])
{
//
return 1;
}
And NOT under OnplayerCommandRecieved
Reply
#3

Thank you, Tony.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)