SA-MP Forums Archive
Help , again ... ! - 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: Help , again ... ! (/showthread.php?tid=320052)



Help , again ... ! - DarkyTheAngel - 21.02.2012

Hey again guys ! Can someone help me with these warning ... i said and i still say , i'm not good at errors/warnings.
pawn Код:
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(24) : warning 201: redefinition of constant/macro (symbol "COLOR_GREY")
C:\Users\Win7\Desktop\Stunt King Romania 0.3d\Server\gamemodes\SKR.pwn(29) : warning 201: redefinition of constant/macro (symbol "COLOR_BLUE")
On that lines where are the warnings , are defined colors ....
Thanks.


Re: Help , again ... ! - Konstantinos - 21.02.2012

Delete them. They are already defined.


Re: Help , again ... ! - emokidx - 21.02.2012

you must have defined them twice.search for them "ctrl+f" and delete any same define you find.


Re: Help , again ... ! - Smally - 21.02.2012

Check to see if you have defined them already if you have that'll be your problem.


Re: Help , again ... ! - DarkyTheAngel - 21.02.2012

The colors are defined just 1 time.


Re: Help , again ... ! - emokidx - 21.02.2012

maybe some you have some include that has defined it? in that case, you need to change the name.


Re: Help , again ... ! - Konstantinos - 21.02.2012

They don't. Even if you are using an include and it uses the same colors it will give you the error. Just delete them, if the compiler doesn't find COLOR_GREY & COLOR_BLUE undefined symbols, then you are ok.


Re: Help , again ... ! - DarkyTheAngel - 21.02.2012

Hmmm ... i have a include : colors.inc.But i don't know.I will try to delete that include from GM.


Re: Help , again ... ! - Toreno - 21.02.2012

Either delete them from the include or your gamemode, that's all.


Re: Help , again ... ! - Konstantinos - 21.02.2012

Then the colors are defined there. You don't need them anymore at your script. Just delete the colors from lines 24 and 29