Help with using zcmd
#1

Hey Guys,

i'm a bit confused with using zcmd.

In the description it's said that zcmd uses OnPlayerCommandText().
If i add f.ex
Код:
if(COMMAND:TEST(playerid, params[]) // or CMD:mycommand(playerid, params[])
{
SendClientMessage(playerid, COLOR_RED, "This is a test cmd");
return 1;
}
I get "error 017: undefined symbol "cmd_TEST""

If i change OnPlayerCommandText(playerid,cmdtext[]) to OnPlayerCommandText(playerid,params[]) it says:
"error 025: function heading differs from prototype"

What i'm doing wrong?
Reply


Messages In This Thread
Help with using zcmd - by XoX - 15.01.2011, 10:38
Re: Help with using zcmd - by Stylock - 15.01.2011, 11:26
Re: Help with using zcmd - by XoX - 15.01.2011, 11:45

Forum Jump:


Users browsing this thread: 1 Guest(s)