SA-MP Forums Archive
Weird Error (+Rep) - 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: Weird Error (+Rep) (/showthread.php?tid=584155)



Weird Error (+Rep) - NickMirra - 02.08.2015

Well i was just working on the script and it was compiling and working and stuff then i tweaked like one thing and now when i compile it says

Код:
C:\Users\Nick\Documents\SAMP\gamemodes\IG-RP.pwn(2) : fatal error 100: cannot read from file: "filesystem"

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


1 Error.
I have filesystem #include'd and i have the .inc in the pawno include folder.


Re: Weird Error (+Rep) - Mariciuc223 - 02.08.2015

file "filesystem" it's missing from your includes ..


Re: Weird Error (+Rep) - Mencent - 02.08.2015

Do you open the right pawno or the right script?
If so you should open the script with the pawno function "Open" and not directly.

(Sorry for my bad English...) ^^


Re: Weird Error (+Rep) - JessThompson - 03.08.2015

Look at the top of your script can you see something like

#include <filesystem>

Its what mariciuc223 said its missing from your includes.

This could mean you opened the wrong pawno so make sure this is in your pawno/includes/ folder so it should be linked like this.

pawno/includes/filesystem.inc


Re: Weird Error (+Rep) - RowdyrideR - 03.08.2015

Just open pawno from your pawno folder, then use "open" to load your script then compile