problem in zcmd
#1

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.
Reply
#2

Be sure, your command isn't into a callback.
However, like this it's faster and easier.
pawn Код:
CMD:createhouse(playerid, params[])
{
    return 1;
}
Reply
#3

Be sure you added #include<zcmd>
and there must be file named zcmd.inc in pawno/includes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)