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



fatal error 100: cannot read from file: "Any downloaded include" - [D]ry[D]esert - 12.01.2012

hello i want download include and i want use it error show to me fatal error 100: cannot read from file: "Any include"
for example i want donwload admin system when i download it i want edit something or what ever and it #include <foreach> i download it and add it to pawno>include then still the same tell me fatal error 100: cannot read from file: "foreach"
can anyone help me please


Re: fatal error 100: cannot read from file: "Any downloaded include" - Konstantinos - 12.01.2012

Hmm, I didn't see that before to be honest, but something will be wrong.
Check if there is the file on your_server\pawno\include\foreach.inc
That all your includes must be .inc, nothing else. Make sure you run the correct pawno.exe and not from other package. (I think impossible for this)


Re: fatal error 100: cannot read from file: "Any downloaded include" - [D]ry[D]esert - 12.01.2012

I check every thing and i use old Pawno when i use the new its work thanks +rep

and is there are different between the new and old ?


Re: fatal error 100: cannot read from file: "Any downloaded include" - Vince - 12.01.2012

The Pawn compiler always looks for includes files in directories relative to the directory the compiler itself resides in.


Re: fatal error 100: cannot read from file: "Any downloaded include" - Gamer_Z - 12.01.2012

if you put the includes where you have your script you can do:
#include "MyInclude.inc" (paths can also be supplied here, they are relative to the script path)

else if it's located in the pawno/include folde you do:
#include <MyInclude>

Hope this helps.