SA-MP Forums Archive
fatal error 100: cannot read from file: "YSI\y_ini" - 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: "YSI\y_ini" (/showthread.php?tid=385244)



fatal error 100: cannot read from file: "YSI\y_ini" - xXRealLegitXx - 15.10.2012

So, yeah, When I use the #inclue YSI/y_ini it give me this error:

Code:
fatal error 100: cannot read from file: "YSI\y_ini"
This makes me so mad! I need to know the EXACT directories and the EXACT folders and where to place everything EXACTLY if a file/folder has a '.' in it I NEED TO KNOW THAT. If you get this to work, you earn a cookie


Re: fatal error 100: cannot read from file: "YSI\y_ini" - arakuta - 15.10.2012

You must have the include y_ini.inc

Look in your gamemode (usually on top) for something like #include <YSI\y_ini>

It means that the include you're using is in the pawno\includes\YSI folder.

or #include <a_samp> means the include is in the pawno\includes folder.

Hope you understood. (Bad english? Sorry i'm brazilian.)


Re: fatal error 100: cannot read from file: "YSI\y_ini" - [DkS]JR_Junior - 15.10.2012

If include is actually in place and the error continues, you simply close the pawno and open it again!
Caution: Do not open by clicking on the script, manually open!

1 - Open it in ... / pawno / pawno.exe
2 - Click File, then Open.
3 - Open the script you want to compile and try to compile it!

That should solve your problem, it's happened to me!
Good Luck!


Re: fatal error 100: cannot read from file: "YSI\y_ini" - Joshman543 - 15.10.2012

If you get the error: Failed to set data for "
Then right click pawno.exe and run it as administrator


Re: fatal error 100: cannot read from file: "YSI\y_ini" - xXRealLegitXx - 15.10.2012

Quote:
Originally Posted by [DkS]JR_Junior
View Post
If include is actually in place and the error continues, you simply close the pawno and open it again!
Caution: Do not open by clicking on the script, manually open!

1 - Open it in ... / pawno / pawno.exe
2 - Click File, then Open.
3 - Open the script you want to compile and try to compile it!

That should solve your problem, it's happened to me!
Good Luck!
Open what in pawno?


Re: fatal error 100: cannot read from file: "YSI\y_ini" - xXRealLegitXx - 15.10.2012

Quote:
Originally Posted by arakuta
View Post
You must have the include y_ini.inc

Look in your gamemode (usually on top) for something like #include <YSI\y_ini>

It means that the include you're using is in the pawno\includes\YSI folder.

or #include <a_samp> means the include is in the pawno\includes folder.

Hope you understood. (Bad english? Sorry i'm brazilian.)
I understood it, It still doesnt fix it. Sorry


Re: fatal error 100: cannot read from file: "YSI\y_ini" - GoldenM4 - 15.10.2012

If you have more then 2 SAMP folder it is reading the other file so delete the other SAMP Folder and it will work

Or move all your gamemodes and everything into one Server folder


Re: fatal error 100: cannot read from file: "YSI\y_ini" - xXRealLegitXx - 15.10.2012

Quote:
Originally Posted by Joshman543
View Post
If you get the error: Failed to set data for "
Then right click pawno.exe and run it as administrator
Didn't work


Re: fatal error 100: cannot read from file: "YSI\y_ini" - xXRealLegitXx - 15.10.2012

Quote:
Originally Posted by GoldenM4
View Post
If you have more then 2 SAMP folder it is reading the other file so delete the other SAMP Folder and it will work

Or move all your gamemodes and everything into one Server folder
Nope, didn't work


Re: fatal error 100: cannot read from file: "YSI\y_ini" - atiqfajar - 06.12.2012

use pawno then other editor to compile it and download ysi update