SA-MP Forums Archive
Can't read from file Problem - 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: Can't read from file Problem (/showthread.php?tid=462749)



Can't read from file Problem - sampmark05 - 08.09.2013

Hello Everyone.

I got this error when i compile my script
Код:
 (39) : fatal error 100: cannot read from file: "a_zones"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
But i have the include a_zones.inc on my pawno/include folder

What should i do with this? any help


Re: Can't read from file Problem - knackworst - 08.09.2013

I once had this problem, and I fixed it by reopening pawno, but this time from the very same folder as the one where you put the include.
By this I mean that you may not open pawno from a map in your computer, and then trying to open a script with an include that's in another map.

I'm not sure if it will work, but this worked fine for me back then


Re: Can't read from file Problem - ReVo_ - 08.09.2013

Maybe you compile the script w/ another Pawn and it dont have the include. Open pawn.exe (where you put the include) then open the file and compile.


Re: Can't read from file Problem - sampmark05 - 08.09.2013

Oh, I see. I fixed it. Im thankful to all of you. +REP