SA-MP Forums Archive
Basic ZCMD problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Basic ZCMD problem (/showthread.php?tid=468268)



Basic ZCMD problem - PrivatioBoni - 07.10.2013

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"



Re: Basic ZCMD problem - TonyII - 07.10.2013

Should be

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


Re: Basic ZCMD problem - PrivatioBoni - 07.10.2013

Thank you, Tony.