zcmd error , happens everytime ++Rep
#1

everytime i write any cmd in zcmd , for example CMD:kick or CMDlap 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.
Reply
#2

Can you show us that command?
Reply
#3

Quote:
Originally Posted by NeamPojma
Посмотреть сообщение
Can you give us that command?
Код:
CMD:kick(playerid,params[])
{
return 1;
}
Reply
#4

You don't need a \
Reply
#5

a) What is that backslash for?
b) Have you actually included ZCMD?
Reply
#6

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

I dont know did you put both #include <zcmd> on top of your script and zcmd.inc in your include folder?
Reply
#8

Are you using any other command processor?
Also, do you have "public OnPlayerCommandText" in your script (Every script, gamemode and filterscripts and includes)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)