PM System - Errors in include gl_common
#1

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

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

Assure that you added #include <gl_common> after all other includes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)