SA-MP Forums Archive
Cannot read from file PAWNO - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: Cannot read from file PAWNO (/showthread.php?tid=497960)



Cannot read from file PAWNO - trukker1998 - 01.03.2014

Hi,

I installed all plugins, but now it says the plugin file (inc) `foreach` doesn't exist..


INC file in the includes:


But.. the file is in the includes folder.
I tried to uncomment this line, but another plugin does the exactly same thing.
The other plugins loaded perfect.

The strange thing.. The files that cannot be readen are made from pastebin copy's..

Can someone help?


Re: Cannot read from file PAWNO - kbalor - 01.03.2014

Make sure:

Download the latest: foreach.inc
#include <foreach> : in your gm or fs
put it in the .inc under pawn folder
Recompile


Re: Cannot read from file PAWNO - Epixha - 01.03.2014

Foreach isn't a plugin, it is an include. Make sure you have #include <foreach> at the top of your script. Also, what do you mean by the Includes folder? The one that is in the main server folder or the one that is in Pawno folder? If it's not in the Pawno folder, the application won't load it so make sure it's in the Pawno folder. Also try compiling from the the Pawno application without opening the .pwn file directly.