SA-MP Forums Archive
ZCMD... - 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... (/showthread.php?tid=528893)



ZCMD... - Baltimore - 30.07.2014

Hello!

When i compile my gamemode with ZCMD i have this:
(18 ) : warning 201: redefinition of constant/macro (symbol "COMMAND:%1(%2)")
(21) : warning 201: redefinition of constant/macro (symbol "CMD:%1(%2)")

How to fix?


Re: ZCMD... - SmithyComp - 30.07.2014

Start off with posting the lines of the script that are causing the error.. (line 18 & 21.)


Also, they're warnings which are not needed to be fixed for the gamemode to run, simply ignore them and continue on. It's probably due to using two different abbreviations of CMD, stick with CMD: as it uses less space in the long run.


Re : ZCMD... - Baltimore - 30.07.2014

Ligne 18:
public cmd_%1(%2)

21:
COMMAND:%1(%2)


Re : ZCMD... - Baltimore - 31.07.2014

UP please.


Re: Re : ZCMD... - Stinged - 31.07.2014

Quote:
Originally Posted by Baltimore
Посмотреть сообщение
Ligne 18:
public cmd_%1(%2)

21:
COMMAND:%1(%2)
Are those in your gamemode or in the zcmd.inc file?