SA-MP Forums Archive
Need help! progress.inc(5) : error 026: no matching "#if..." - 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: Need help! progress.inc(5) : error 026: no matching "#if..." (/showthread.php?tid=563909)



Need help! progress.inc(5) : error 026: no matching "#if..." - Scrillex - 18.02.2015

So I got this error on clean script...

IDK what is wrong with it..

Код:
progress.inc(5) : error 026: no matching "#if..."
5TH line

Код:
#endif
With best regards Scrillex.


Re: Need help! progress.inc(5) : error 026: no matching "#if..." - Extremo - 18.02.2015

Like the error says, you have no #if define on top of the code. Something along the lines of:

pawn Код:
#if defined _MY_INC_INC
    #endinput
#endif
EDIT: The problem here is that you cannot end an if if no if was ever started.


Re: Need help! progress.inc(5) : error 026: no matching "#if..." - Scrillex - 18.02.2015

You see I just added a progress.inc at my script.. I even didnt use it.. first time I see something like it...