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



Fatal Error 100: Cannot read from file: dini - JulianWilliams - 23.12.2017

Код:
C:\Users\HP\Desktop\CGRP\gamemodes\CG-RP1.pwn(4) : fatal error 100: cannot read from file: "dini"

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


1 Error.



Re: Fatal Error 100: Cannot read from file: dini - rfr - 23.12.2017

download dini https://dracoblue.net/downloads/dini/


Re: Fatal Error 100: Cannot read from file: dini - JulianWilliams - 23.12.2017

Quote:
Originally Posted by rfr
Посмотреть сообщение
I already have dini.inc in my script.


Re: Fatal Error 100: Cannot read from file: dini - RogueDrifter - 23.12.2017

Quote:
Originally Posted by JulianWilliams
Посмотреть сообщение
I already have dini.inc in my script.
there's a difference between having it in the script and in the files, make sure that you have dini.inc in your pawno/includes file and make sure that you're launching that pawno not another pawno in another directory.


Re: Fatal Error 100: Cannot read from file: dini - JulianWilliams - 23.12.2017

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
there's a difference between having it in the script and in the files, make sure that you have dini.inc in your pawno/includes file and make sure that you're launching that pawno not another pawno in another directory.
I have it both in pawno/include folder and /include folder. And I don't have any other pawno except the gamemode itself.


Re: Fatal Error 100: Cannot read from file: dini - Ritzy2K - 23.12.2017

The only issue I can think now is that your dini isn't saved with a .inc extension.


Re: Fatal Error 100: Cannot read from file: dini - JulianWilliams - 23.12.2017

Quote:
Originally Posted by Ritzy
Посмотреть сообщение
The only issue I can think now is that your dini isn't saved with a .inc extension.
No, it's dini.inc


Re: Fatal Error 100: Cannot read from file: dini - cuber - 23.12.2017

Did you put the include in the right "pawn/includes" folder?


Re: Fatal Error 100: Cannot read from file: dini - JulianWilliams - 23.12.2017

Quote:
Originally Posted by cuber
Посмотреть сообщение
Did you put the include in the right "pawn/includes" folder?
yes and it's include not includes sir


Re: Fatal Error 100: Cannot read from file: dini - cuber - 23.12.2017

Quote:
Originally Posted by JulianWilliams
Посмотреть сообщение
yes and it's include not includes sir
Rip my keyboard.

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
nah that's impossible, the only cause now would be you using another pawno, make sure u run the pawno that's outside the include folder.
Exactly.

--
I just downloaded "Dini" and it's "Dini.inc" and not "dini.inc". If you already put it to the includes folder as "Dini.inc" then include it on your gamemode/filterscript as "#include <Dini>" and not "include <dini>.