SA-MP Forums Archive
Problem In FileScript!!. - 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: Problem In FileScript!!. (/showthread.php?tid=440145)



Problem In FileScript!!. - Viggo - 28.05.2013

[CENTER]C:\Users\Administrator\Desktop\GreatBomb Server 0.3x\NRGaming V.4\filterscripts\TFS.pwn(7) : fatal error 100: cannot read from file: "foreach"

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


1 Error.
================================================== ===========================
Because here is 1 Error . i can't work This Server ,
Tell me :- what i need to do



Re : Problem In FileScript!!. - Stefano.R - 28.05.2013

add foreach in your includes:
https://sampforum.blast.hk/showthread.php?tid=92679


Re: Problem In FileScript!!. - Viggo - 28.05.2013

The Include of Gamemode Pawn ?


Re : Problem In FileScript!!. - Stefano.R - 28.05.2013

Download this file: http://www.solidfiles.com/d/f8f82f8627/
and put it in the \pawno\include folder.


Re: Problem In FileScript!!. - jordy.kiesebrink - 28.05.2013

If you have this included you maybe opened an other pawno from an older server version for example accidently.

This can happend becouse your operation system is opening .pwn files by default with your assigner pawno.exe, to prevent this problem you should run the pawno where you include is located as a administrator and then open your .pwn file into the pawno that comes up.

After that it should compile again for you becouse that pawno can locate the .inc file and the older one not becouse its simply not in that folder