SA-MP Forums Archive
FS 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: FS error (/showthread.php?tid=567069)



FS error - aCloudy - 10.03.2015

Hello.
I wanted to make new filterscript.
I opened pawno and pressed "new", It made new script (as you know).
Then, I replaced "#if defined FILTERSCRIPT" with "#define FILTERSCRIPT".
And compiled then got this error:

HTML Code:
C:\Program Files\fsfs\filterscripts\fsfsg.pwn(19) : error 026: no matching "#if..."
C:\Program Files\fsfs\filterscripts\fsfsg.pwn(28) : error 026: no matching "#if..."
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.



Re: FS error - oliverrud - 10.03.2015

As far as I'm aware, instead of replacing "#if defined FILTERSCRIPT", just add above it "#define FILTERSCRIPT"


Re: FS error - CalvinC - 10.03.2015

You have to delete the #endif and code between that an the old #if defined.


Re: FS error - aCloudy - 10.03.2015

Thanks fixed.