FS error
#1

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.
Reply
#2

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

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

Thanks fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)