problem in zcmd - 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: problem in zcmd (
/showthread.php?tid=302683)
problem in zcmd -
barbarking - 10.12.2011
hi.
i installed zcmd include and when i'm trying to create a command like this:
pawn Код:
command(createhouse, playerid, params[])
it gives me errors:
pawn Код:
error 029: invalid expression, assumed zero
error 017: undefined symbol "cmd_createhouse"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Re: problem in zcmd -
Kostas' - 10.12.2011
Be sure, your command isn't into a callback.
However, like this it's faster and easier.
pawn Код:
CMD:createhouse(playerid, params[])
{
return 1;
}
Re: problem in zcmd -
Sfor$ahil - 10.12.2011
Be sure you added
#include<zcmd>
and there must be file named zcmd.inc in
pawno/includes