SA-MP Forums Archive
sscanf compiling error - 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)
+--- Thread: sscanf compiling error (/showthread.php?tid=505888)



sscanf compiling error - S4t3K - 10.04.2014

Hi.

I currently made my registering/login system.
I have all those includes (I use sscanf for splitting my commands in subcommands and other stuff sscanf is made for).

It's the first time I get this error whereas I use this plugin for now 4 months.

The error is this one :

C:\pawno\pawno\include\sscanf2.inc(30) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.

My includes are

PHP код:

#include <a_samp> // The official one
#include <sscanf2> // ******'s official include
#include <a_mysql> // Maddinat0r/BlueG's include
#include <hash> // Mellnik's one
#include <s_useful> // A personnal one
#define MAILER_URL "s4t3kx.alwaysdata.net/mailer.php"
#define MAIL_ADMIN "s4t3kx@alwaysdata.net"
#include <mailer> // Slice's one 
Can someone (maybe ****** ? :3) tell me where does the problem come from ? And why ?

Thanks in advance, s4t3k.


Re: sscanf compiling error - Konstantinos - 10.04.2014

It's because of the compiler patch (by Zeex). I've seen that before but I actually haven't seen any solution so post it in that thread.


Re : sscanf compiling error - S4t3K - 10.04.2014

Okay.

Even thanks for you fast answer.
I'll tell Zeex about that on his thread.

Have a nice evening (GMT + 1)