Help Warning. - 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: Help Warning. (
/showthread.php?tid=255239)
Help Warning. -
GeonMake - 14.05.2011
warning 201: redefinition of constant/macro (symbol "rInfo")
How fix it?!
Re: Help Warning. -
LetsOWN[PL] - 14.05.2011
Please give the line, where warning is
// It seems that youve duplicated "rInfo"
Re: Help Warning. -
Spectre - 14.05.2011
You are doing exactly what it says: you are trying to redefine a constant...
Check your code (up top) for a line that starts: const rInfo(whatever)...
Then you try to assign something else to that CONSTANT later in the code...
Either don't make it a constant or don't try to change it later...
Re: Help Warning. -
GeonMake - 14.05.2011
Fixed.Thanks
Re: Help Warning. -
Spectre - 14.05.2011
When you have corrected a problem it would only be polite to post WHAT YOU DID TO CORRECT IT for the benefit of others having a similar problem...
Just FYI...