SA-MP Forums Archive
Cannot read from 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: Cannot read from file (/showthread.php?tid=392729)



Cannot read from file - Pawnstar - 15.11.2012

Quote:

C:\Users\Ash.Ash-PC\Desktop\Learning\gamemodes\Learner.pwn(6) : fatal error 100: cannot read from file: "YSI\y_ini"

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


1 Error.

pawn Код:
#include <YSI\y_ini>
Not sure why, the y_ini.inc is in the pawno/include folder.


Re: Cannot read from file - [HK]Ryder[AN] - 15.11.2012

Instead of doublie clicking on the pwn to open your script start up pawno.exe and load your gamemode there
then compile

EDIT - y_ini.inc doesnt need to be in pawno/include folder. either put it in pawno/include/YSI folder or change the #include to #include y_ini


Re: Cannot read from file - Pawnstar - 15.11.2012

Quote:
Originally Posted by [HK]Ryder[AN]
Посмотреть сообщение
Instead of doublie clicking on the pwn to open your script start up pawno.exe and load your gamemode there
then compile

EDIT - y_ini.inc doesnt need to be in pawno/include folder. either put it in pawno/include/YSI folder or change the #include to #include y_ini
Got it working, I didn't add the YSI folder, Thanks alot man


Re: Cannot read from file - Private200 - 15.11.2012

Check out your Includes folder and the name of your YSI in there .

EDIT : Sorry i didn't see that this was solved.