31.03.2017, 16:20
Hello,
I have had this issue :
file 1:
file 2:
file 3 includes both files and I get this error
File 1 is actually weapon-config.inc, and i'm trying to use the constant WEAPON_UNKNOWN in another script that is included AFTER weapon-config.inc
But normally this is supposed to work, I had some instance of this happening with functions too.
This is very annoying.
Thank you,
Yanick
I have had this issue :
file 1:
Code:
#define WEAPON_UNKNOWN 55
Code:
[Using WEAPON_UNKNOWN]
Code:
../include/file2.pwn(282) : error 017: undefined symbol "WEAPON_UNKNOWN"
But normally this is supposed to work, I had some instance of this happening with functions too.
This is very annoying.
Thank you,
Yanick