SA-MP Forums Archive
Zcmd help please - 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 help please (/showthread.php?tid=464840)



Zcmd help please - Sweez - 19.09.2013

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.



Re: Zcmd help please - alinategh - 19.09.2013

Post your script for us then we can see


Re: Zcmd help please - Sweez - 19.09.2013

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


Re: Zcmd help please - alinategh - 19.09.2013

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...


Re: Zcmd help please - qazwsx - 19.09.2013

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


Re: Zcmd help please - Sweez - 19.09.2013

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;



Re: Zcmd help please - Dystans - 19.09.2013

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


Re: Zcmd help please - Sweez - 19.09.2013

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 ?


Re: Zcmd help please - Sweez - 19.09.2013

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.



Re: Zcmd help please - Dystans - 19.09.2013

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