Help , again ... !
#1

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.
Reply
#2

Delete them. They are already defined.
Reply
#3

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

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

The colors are defined just 1 time.
Reply
#6

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

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.
Reply
#8

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

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)