14.08.2014, 08:02
we can see from this error message:
that you've correctly included zcmd.
so that's not a problem here, if he wouldn't have included it, the errors wouldn't be the same. - just sayin'
there's one more thing which can cause these kind of errors,
you might've forgotten a closing bracket "}" somewhere right above that command
as an example, something like this
would cause exactly that errors you've got there
also, there might be more errors/warnings waiting for you as the pawn parser
couldn't finish his job and stopped at that line.
Meaning it didn't parse the code after that line
Quote:
undefined symbol "cmd_setadmin" |
so that's not a problem here, if he wouldn't have included it, the errors wouldn't be the same. - just sayin'
there's one more thing which can cause these kind of errors,
you might've forgotten a closing bracket "}" somewhere right above that command
as an example, something like this
pawn Код:
CMD:someCmdAbove(playerid, params[])
{
//some code
return 1;
//missing closing bracket
CMD:setadmin(playerid, params[])
{
//some code
return 1;
}
Код:
error 029: invalid expression, assumed zero error 017: undefined symbol "cmd_setadmin" error 029: invalid expression, assumed zero fatal error 107: too many error messages on one line
couldn't finish his job and stopped at that line.
Meaning it didn't parse the code after that line