SA-MP Forums Archive
COLOR_LIGHTRED - "redefinition of constant/macro (symbol "COLOR_LIGHTRED")" - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: COLOR_LIGHTRED - "redefinition of constant/macro (symbol "COLOR_LIGHTRED")" (/showthread.php?tid=71554)



COLOR_LIGHTRED - "redefinition of constant/macro (symbol "COLOR_LIGHTRED")" - Castle - 02.04.2009

Somehow I get this warning:
Код:
C:\Documents and Settings\USER\Desktop\SAMP GameMode\gamemodes\GM.pwn(136) : warning 201: redefinition of constant/macro (symbol "COLOR_LIGHTRED")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Now here the COLOR define:
pawn Код:
#define COLOR_LIGHTRED 0xAA3333FF
Whats wrong with it?


Re: COLOR_LIGHTRED - "redefinition of constant/macro (symbol "COLOR_LIGHTRED")" - Dujma - 02.04.2009

You have already define that color...


Re: COLOR_LIGHTRED - "redefinition of constant/macro (symbol "COLOR_LIGHTRED")" - Castle - 02.04.2009

Thanks, Figured it out already had 2 defines of the same color dunno how it happened