SA-MP Forums Archive
S32_House.inc(27) : fatal error 100: cannot read from file: "foreach" - 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: S32_House.inc(27) : fatal error 100: cannot read from file: "foreach" (/showthread.php?tid=386532)



S32_House.inc(27) : fatal error 100: cannot read from file: "foreach" - xXRealLegitXx - 20.10.2012

So, I added a new .inc that allows houses, I added it in pawno > Includes and put #include <S32_House>

Code:
Код:
#include <S32_House>
And got this error:

Код:
C:\Users\Cody\Desktop\OrbzGaming\SAMP\Server\pawno\include\S32_House.inc(27) : fatal error 100: cannot read from file: "foreach"

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


1 Error.
How to fix this?


Re: S32_House.inc(27) : fatal error 100: cannot read from file: "foreach" - Riddick94 - 20.10.2012

Open pawno.exe from pawno folder which have this file what you wanted, and open your script (make sure you have in includes file 'S32_House.inc') and then compile your script.


Re: S32_House.inc(27) : fatal error 100: cannot read from file: "foreach" - sleepysnowflake - 20.10.2012

You also need the foreach.inc in the includes folder