Compiled but has error? - 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: Compiled but has error? (
/showthread.php?tid=510013)
Compiled but has error? -
spykidz01 - 29.04.2014
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!
Re: Compiled but has error? -
BroZeus - 29.04.2014
remove line #define SELECT_OBJECT_PLAYER_OBJECT 10
Re: Compiled but has error? -
Brandon_More - 29.04.2014
Or you can
pawn Код:
#undef SELECT_OBJECT_PLAYER_OBJECT
Above #define SELECT_OBJECT_PLAYER_OBJECT
Re: Compiled but has error? -
spykidz01 - 29.04.2014
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
Re: Compiled but has error? -
BroZeus - 29.04.2014
no there would be no problem because SELECT_OBJECT_PLAYER_OBJECT is already defined possibly in an include
Re: Compiled but has error? -
spykidz01 - 29.04.2014
oh okay then... thanks for helping!