sscanf2 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: sscanf2 Error (
/showthread.php?tid=587901)
sscanf2 Error -
DerJonny - 03.09.2015
Hi,
I have a Problem with sscanf2. It shows me this Error when i Compile a Include when i change something in it.
It's the mta_loader include.
pawn Код:
sscanf2.p(30) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
and the Error is right here.
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
#if defined SSCANF_OnPlayerDisconnect
SSCANF_OnPlayerDisconnect(playerid, reason);
#endif
SSCANF_Leave(playerid);
return 1;//Here
}
I hope someone can Help me with that
Re: sscanf2 Error -
jlalt - 03.09.2015
did you add #include a_samp in the top of your script?
AW: sscanf2 Error -
DerJonny - 03.09.2015
Well it wasn't in the sscanf2.
Just added it now it Works thank you ^^.