11.05.2012, 23:33
Good Morning.
I'm having a few problems with the following piece of code:
This causes the following error to appear (from sscanf):
However, commenting "#define AC_MASTER" out (while breaking my anti-cheat), fixes this issue and the script compiles fine (just will fail to run due to this script being my master anti-cheat script). Commenting the actual include out itself is also fine. Here is the include. (I'm in the process of re-writing my anticheat system, that's why that looks so bare!)
Anyone have any ideas. I fail to see how this could be in anyway related. The anti-cheat include (where there are conditional checks made against whether AC_MASTER is defined or not), has no relation to sscanf what-so-ever.
Thanks,
Ash
I'm having a few problems with the following piece of code:
pawn Code:
#define AC_MASTER
#include <a_samp>
#include <truckingworld/anticheat>
#include <truckingworld/sscanf2>
Code:
truckingworld/sscanf2.inc(30) : fatal error 111: user error: sscanf (possibly the PAWN version) already defined.
Anyone have any ideas. I fail to see how this could be in anyway related. The anti-cheat include (where there are conditional checks made against whether AC_MASTER is defined or not), has no relation to sscanf what-so-ever.
Thanks,
Ash