zcmd error , happens everytime ++Rep - 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 error , happens everytime ++Rep (
/showthread.php?tid=578997)
zcmd error , happens everytime ++Rep -
ItzRbj - 23.06.2015
everytime i write any cmd in zcmd , for example CMD:kick or CMD
lap or CMD:ban , those errors show up
Код:
C:\Users\Mohamed\Desktop\samp servering\gamemodes\grandlarc.pwn(589) : error 029: invalid expression, assumed zero
C:\Users\Mohamed\Desktop\samp servering\gamemodes\grandlarc.pwn(589) : error 017: undefined symbol "cmd_kick"
C:\Users\Mohamed\Desktop\samp servering\gamemodes\grandlarc.pwn(589) : error 029: invalid expression, assumed zero
C:\Users\Mohamed\Desktop\samp servering\gamemodes\grandlarc.pwn(589) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
Re: zcmd error , happens everytime ++Rep -
NeamPojma - 23.06.2015
Can you show us that command?
Re: zcmd error , happens everytime ++Rep -
ItzRbj - 23.06.2015
Quote:
Originally Posted by NeamPojma
Can you give us that command?
|
Код:
CMD:kick(playerid,params[])
{
return 1;
}
Re: zcmd error , happens everytime ++Rep -
J0sh... - 23.06.2015
You don't need a \
Re: zcmd error , happens everytime ++Rep -
Vince - 23.06.2015
a) What is that backslash for?
b) Have you actually included ZCMD?
Re: zcmd error , happens everytime ++Rep -
ItzRbj - 23.06.2015
Quote:
Originally Posted by Vince
a) What is that backslash for?
b) Have you actually included ZCMD?
|
a) the backslash was by mistake i edited it
b) yes
Re: zcmd error , happens everytime ++Rep -
NeamPojma - 23.06.2015
I dont know did you put both #include <zcmd> on top of your script and zcmd.inc in your include folder?
Re: zcmd error , happens everytime ++Rep -
Stinged - 23.06.2015
Are you using any other command processor?
Also, do you have "public OnPlayerCommandText" in your script (Every script, gamemode and filterscripts and includes)