SA-MP Forums Archive
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: zcmd problem (/showthread.php?tid=493053)



zcmd problem - florent6001 - 06.02.2014

Quote:

CMD:mute(playerid, params[])
{
SendClientMessage(playerid, COLOR_WHITE, "Test");
return 1;
}

error 029: invalid expression, assumed zero
error 017: undefined symbol "cmd_mute"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

line 218 is : CMD:mute(playerid, params[])


Re: zcmd problem - TLN - 06.02.2014

Do you have this in your script?
pawn Код:
#include <zcmd>



Re : zcmd problem - florent6001 - 06.02.2014

Quote:

Do you have this in your script?

Yes i have this include


Re: zcmd problem - TLN - 06.02.2014

Okay, so where did you place this command?
It shouldn't be placed below this, but if you have it there, put the command somewhere in your script.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{