Wierd sscanf 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: Wierd sscanf error.. (
/showthread.php?tid=570911)
Wierd sscanf error.. -
danielpalade - 14.04.2015
This is my error, how can I fix this?
Код:
C:\Users\daniel\Documents\PAWNO\include\sscanf2.inc(30) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
Compilation aborted.
Pawn compiler 3.10.20150412 Copyright © 1997-2006, ITB CompuPhase
And here is my includes
Код:
#include <a_samp>
#include <a_mysql>
#include <zcmd>
#include <sscanf2>
#include <foreach>
Re: Wierd sscanf error.. -
Misiur - 14.04.2015
Two options:
1) add -Z+ flag to your compiler options
2) Wait 15 minutes for me to push a patch
#e: Even more
3) Add
Re: Wierd sscanf error.. -
FernandoLight - 14.04.2015
Quote:
Originally Posted by danielpalade
This is my error, how can I fix this?
Код:
C:\Users\daniel\Documents\PAWNO\include\sscanf2.inc(30) : fatal error 111: user error: Please include <a_npc> or <a_samp> first.
Compilation aborted.
Pawn compiler 3.10.20150412 Copyright © 1997-2006, ITB CompuPhase
And here is my includes
Код:
#include <a_samp>
#include <a_mysql>
#include <zcmd>
#include <sscanf2>
#include <foreach>
|
C:\Users\daniel\Documents\PAWNO\include\sscanf2.in c(30) : fatal error 111: user error: Please include ***<a_npc>*** ***or <a_samp>*** first.
Just try to add the [#include <a_npc>] after [#include <a_samp>].
Re: Wierd sscanf error.. -
danielpalade - 14.04.2015
Quote:
Originally Posted by Misiur
Two options:
1) add -Z+ flag to your compiler options
2) Wait 15 minutes for me to push a patch
#e: Even more
3) Add
|
And where exactly do I need to do the flag thingy?
Re: Wierd sscanf error.. -
danielpalade - 14.04.2015
Quote:
Originally Posted by FernandoLight
C:\Users\daniel\Documents\PAWNO\include\sscanf2.in c(30) : fatal error 111: user error: Please include ***<a_npc>*** ***or <a_samp>*** first.
Just try to add the [#include <a_npc>] after [#include <a_samp>].
|
That won't work
Re: Wierd sscanf error.. -
Misiur - 14.04.2015
Depends on your setup, but maybe the pragma option will be better for you.
Re: Wierd sscanf error.. -
danielpalade - 14.04.2015
Quote:
Originally Posted by Misiur
Depends on your setup, but maybe the pragma option will be better for you.
|
Adding the pragma above the includes won't work either
Re: Wierd sscanf error.. -
Misiur - 14.04.2015
Oh, Zeex added it recently. Are you using notepad++, sublime, or something like that? Or just regular pawno with pawncc replaced?
Re: Wierd sscanf error.. -
danielpalade - 14.04.2015
Quote:
Originally Posted by Misiur
Oh, Zeex added it recently. Are you using notepad++, sublime, or something like that? Or just regular pawno with pawncc replaced?
|
I'm using notepad++.
Re: Wierd sscanf error.. -
Misiur - 14.04.2015
If you are interested, I fixed that bug.
https://github.com/Misiur/YSI-Includ...b117c379becbac
If not: You've followed
https://sampforum.blast.hk/showthread.php?tid=174046 this tutorial? Ok, so there's this part
Quote:
"C:\Program Files (x86)\PAWN Compiler\pawncc.exe" "$(FILE_NAME)" -; -(
|
add
Quote:
"C:\Program Files (x86)\PAWN Compiler\pawncc.exe" "$(FILE_NAME)" -; -( -Z+
|