PM System - Errors in include gl_common - 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: PM System - Errors in include gl_common (
/showthread.php?tid=141801)
PM System - Errors in include gl_common -
IcyBlight - 15.04.2010
Hey there.
So, because I'm lazy and couldn't be bothered to write it myself, I just ripped the PM system from the 'base' filterscript.
I added the include, 'gl_common.inc', to my script, because that was used in the filterscript. I compile, and I get this fucking shit.
Код:
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(90) : error 047: array sizes do not match, or destination array is too small
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
Halp plz.
Re: PM System - Errors in include gl_common -
GforceNL - 15.04.2010
Quote:
Originally Posted by IcyBlight
Hey there.
So, because I'm lazy and couldn't be bothered to write it myself, I just ripped the PM system from the 'base' filterscript.
I added the include, 'gl_common.inc', to my script, because that was used in the filterscript. I compile, and I get this fucking shit.
Код:
../include/gl_common.inc(75) : error 021: symbol already defined: "strtok"
../include/gl_common.inc(90) : error 047: array sizes do not match, or destination array is too small
../include/gl_common.inc(134) : error 021: symbol already defined: "isNumeric"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
3 Errors.
Halp plz.
|
Search for gl_common.inc, And delete strtok and isNumeric.
Re: PM System - Errors in include gl_common -
[MWR]Blood - 15.04.2010
Assure that you added #include <gl_common> after all other includes.