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



fatal error 100: cannot read from file: "foreach" - spykidz01 - 27.04.2014

Hello, i got this problem! why its keep saying that cannot read foreach! but the latest version of foreach is in pawno/include folder! please help!

Код:
C:\Users\Louis Alcosaba\Desktop\garhouse_v2.0\GarHouse.pwn(61) : fatal error 100: cannot read from file: "foreach"

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


1 Error.
Код:
//==============================================================================
//                              Includes
//==============================================================================
#define FILTERSCRIPT // Important
#include <a_samp> // Credits to the SA:MP Developement Team
#include <foreach> // Credits to ******                               <<<<<-------------- LINE 61
#include <sscanf2> // Credits to ******
#include <YSI\y_ini> // Credits to ******
#include <ZCMD> // Credits to Zeex
#include <streamer> // Credits to Incognito



Re: fatal error 100: cannot read from file: "foreach" - StuartD - 27.04.2014

Sometimes you compile with another pawno found in a different directory, make sure you have opened it in the one in the previous directory.


Re: fatal error 100: cannot read from file: "foreach" - spykidz01 - 27.04.2014

i don't. because theres no pawno.exe in garhouse.. i opened Garhouse.pwn in other folder that has pawno.exe


can you help me to fix that problem?