Zcmd help please
#1

okay i downloaded a new zcmd.inc but when i try to complie i get these errors:

pawn Код:
D:\Games\GTA San Andreas\!!\HSRP\pawno\include\zcmd.inc(62) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
D:\Games\GTA San Andreas\!!\HSRP\pawno\include\zcmd.inc(64) : error 017: undefined symbol "funcidx"
D:\Games\GTA San Andreas\!!\HSRP\pawno\include\zcmd.inc(64) : warning 215: expression has no effect
D:\Games\GTA San Andreas\!!\HSRP\pawno\include\zcmd.inc(64) : error 001: expected token: ";", but found ")"
D:\Games\GTA San Andreas\!!\HSRP\pawno\include\zcmd.inc(64) : error 029: invalid expression, assumed zero
D:\Games\GTA San Andreas\!!\HSRP\pawno\include\zcmd.inc(64) : 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

Post your script for us then we can see
Reply
#3

Quote:
Originally Posted by alinategh
Посмотреть сообщение
Post your script for us then we can see
I think that it is from my zcmd ...
Reply
#4

Did you run zcmd and get that error? or just the Gamemode? if Gamemode, post the parts (not only the lines) that you get error... btw you don't need to run your zcmd include...
Reply
#5

Are you sure thoose errors caused by your Zcmd?if you think so,re download the zcmd file
Reply
#6

Quote:
Originally Posted by alinategh
Посмотреть сообщение
Did you run zcmd and get that error? or just the Gamemode? if Gamemode, post the parts (not only the lines) that you get error... btw you don't need to run your zcmd include...
I get the errors of the 64th line of the zcmd.inc not from my script. On the 64th line of the zcmd.inc is this:

pawn Код:
zcmd_g_HasOPCS = funcidx("OnPlayerCommandReceived") != -1;
Reply
#7

I see that you have extremally old includes. Download new from here and replace your pawno folder with these from archive.
Reply
#8

Quote:
Originally Posted by Dystans
Посмотреть сообщение
I see that you have extremally old includes. Download new from here and replace your pawno folder with these from archive.
If it doens't work what should i do ?
Reply
#9

Quote:
Originally Posted by Dystans
Посмотреть сообщение
I see that you have extremally old includes. Download new from here and replace your pawno folder with these from archive.
Now getting this :
pawn Код:
C:\Users\User\Desktop\HSRP\pawno\include\zcmd.inc(62) : warning 235: public function lacks forward declaration (symbol "OnGameModeInit")
C:\Users\User\Desktop\HSRP\pawno\include\zcmd.inc(64) : error 017: undefined symbol "funcidx"
C:\Users\User\Desktop\HSRP\pawno\include\zcmd.inc(64) : warning 215: expression has no effect
C:\Users\User\Desktop\HSRP\pawno\include\zcmd.inc(64) : error 001: expected token: ";", but found ")"
C:\Users\User\Desktop\HSRP\pawno\include\zcmd.inc(64) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\HSRP\pawno\include\zcmd.inc(64) : 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
#10

Do you have two pawno folders in any other place than server?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)