SA-MP Forums Archive
Foreach : Can't Read This file ? - 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: Foreach : Can't Read This file ? (/showthread.php?tid=329615)



Foreach : Can't Read This file ? - [Samp]GaMeR - 29.03.2012

Hi guy's.....i have using Eclip's.While compiling the game mode i got this error !
Код:
C:\Users\imran\AppData\Local\Temp\Rar$DIa0.032\TE.pwn(3) : fatal error 100: cannot read from file: "foreach"
Other wise i have the " foreach.inc "And this at the top of my gm !
pawn Код:
//==============================
#include    <     A_SAMP    >
#include    <    foreach    >
#include    <      zcmd     >
#include    < YSI\y_timers  >
#include    <   YSI\y_ini   >
#include    <    sscanf2    >
Please help me on how to fix it !!! I realy need this help !


Re: Foreach : Can't Read This file ? - Shabi RoxX - 29.03.2012

foreach.inc is missing in /pawno/includes


Re: Foreach : Can't Read This file ? - [Samp]GaMeR - 29.03.2012

Quote:
Originally Posted by Shabi RoxX
Посмотреть сообщение
foreach.inc is missing in /pawno/includes
I already have the Foreach.incin my Pawno>Include folder.But still i have this problem !


Re: Foreach : Can't Read This file ? - Shabi RoxX - 29.03.2012

its Foreach OR foreach Check

Код:
Foreach.inc
And
pawn Код:
#include    <    foreach    >
// ??? should be Foreach as you said Foreach.inc



Re: Foreach : Can't Read This file ? - ReneG - 29.03.2012

  1. Go to your server directory.
  2. Double click the folder "Pawno"
  3. Open up Pawno
  4. Click the "Open" icon.
  5. Find your gamemode and open it
  6. Now try compiling.



Re: Foreach : Can't Read This file ? - [Samp]GaMeR - 29.03.2012

Quote:
Originally Posted by VincentDunn
Посмотреть сообщение
  1. Go to your server directory.
  2. Double click the folder "Pawno"
  3. Open up Pawno
  4. Click the "Open" icon.
  5. Find your gamemode and open it
  6. Now try compiling.
Not working .You said that which i already did!
Quote:
Originally Posted by Shabi RoxX
Посмотреть сообщение
its Foreach OR foreach Check

Код:
Foreach.inc
And
pawn Код:
#include    <    foreach    >
// ??? should be Foreach as you said Foreach.inc
Yea it is the same.But still not working.i dont know what to do?