Compiled but has error?
#1

hey guys, i got this message from pawno..

Код:
C:\Users\Carolita\Desktop\SAMP SERVER\gamemodes\MWCNR.pwn(24) : warning 201: redefinition of constant/macro (symbol "SELECT_OBJECT_PLAYER_OBJECT")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
but paw compiler doesnt say any error, it compiles properly.. but 1 warning.. how can i fix this?

i got a pic for you can understand and help me!
Reply
#2

remove line #define SELECT_OBJECT_PLAYER_OBJECT 10
Reply
#3

Or you can

pawn Код:
#undef SELECT_OBJECT_PLAYER_OBJECT
Above #define SELECT_OBJECT_PLAYER_OBJECT
Reply
#4

i removed
Код:
#define SELECT_OBJECT_PLAYER_OBJECT 10
and compiled succesfully. but i think theres will be a problem in that? because there are some text below that.. see the pic
Reply
#5

no there would be no problem because SELECT_OBJECT_PLAYER_OBJECT is already defined possibly in an include
Reply
#6

oh okay then... thanks for helping!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)