SA-MP Forums Archive
Filterscripts not compiling - 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: Filterscripts not compiling (/showthread.php?tid=651698)



Filterscripts not compiling - Ducati - 25.03.2018

Ok this is probably something simple ive missed but why are these errors appearing for empty lines and otherwise working code?
This has happened with about 7 different filterscripts ive tried recompiling, but works fine for all the other filterscripts ive compiled using it (as well as GM)
All folder directories are correct




Re: Filterscripts not compiling - Grim_ - 25.03.2018

pawn Код:
#define Database "Database/%s.ini"
That very well could be the problem. Try this and see if it works
pawn Код:
#define Database "DB/%s.ini"



Re: Filterscripts not compiling - Ducati - 28.03.2018

Quote:
Originally Posted by Grim_
Посмотреть сообщение
pawn Код:
#define Database "Database/%s.ini"
That very well could be the problem. Try this and see if it works
pawn Код:
#define Database "DB/%s.ini"
Tried it, still same problem
Errors seem to be starting at the blank line as though its expecting something.
Any more ideas?


Re: Filterscripts not compiling - UFF - 29.03.2018

#define Database "/Database/%s.ini"


Re: Filterscripts not compiling - Ducati - 03.04.2018

Quote:
Originally Posted by UFF
Посмотреть сообщение
#define Database "/Database/%s.ini"
Still no luck
I'm completely out of ideas, could the version of pawno.exe being used be the problem?


Re: Filterscripts not compiling - UFF - 04.04.2018

if it is filterscript then where is

#define filterscript
and main() ?