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



cannot read from file: "utils" - [SRB]Genius - 13.04.2011

Hi to all,i am new on this forum.I am from Serbia so maybe i have bad English :P

So my problem is when i try to compile Godfather game mod i get error and it look's like this



Код:
 C:\Documents and Settings\Administrator\Desktop\The Godfather\gamemode\gf.pwn(19) : fatal error 100: cannot read from file: "utils"

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


1 Error.
Help please,i have translate it and i can't compile it....

By By


Re: cannot read from file: "utils" - iJumbo - 13.04.2011

you need the include file utils in ServerFloder/pawno/includes/utils.inc


Re: cannot read from file: "utils" - [SRB]Genius - 13.04.2011

I have just done that and i still get same error....i will try it again


Re: cannot read from file: "utils" - [SRB]Genius - 13.04.2011

i still getting that f***in error,can you make a video and upload it on ******* or somthing like that,please


Re: cannot read from file: "utils" - airsoft - 13.04.2011

if you have different servers with different pawnos, make sure that u are using the one with the include...


Re: cannot read from file: "utils" - austin070 - 13.04.2011

Navigate to ServerFolder\pawno\pawno.exe

Then open up your gamemode after opening pawno.exe using file>open. Compile and it should work.


Re: cannot read from file: "utils" - [SRB]Genius - 14.04.2011

Quote:
Originally Posted by austin070
Посмотреть сообщение
Navigate to ServerFolder\pawno\pawno.exe

Then open up your gamemode after opening pawno.exe using file>open. Compile and it should work.
I just done that and i got this fatal error:

Код:
C:\Documents and Settings\Administrator\Desktop\The Godfather\gamemode\gf.pwn(14) : fatal error 100: cannot read from file: "a_samp"

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


1 Error.
can you help me whit this error ?


Re: cannot read from file: "utils" - Mean - 14.04.2011

You opened wrong pawno.exe, with no includes.
BTW GodFather edit .
Why do all the people from balkan ALWAYS do GF edits? I am from balkan and I have never liked GF. At all.
Someone should make a GodFather 2, optimized, using sscanf, zcmd and all the newest stuff.


Re: cannot read from file: "utils" - [SRB]Genius - 14.04.2011

Guys thank you all so much,i just compile it....

Admins lock this theard..


Re: cannot read from file: "utils" - ⒹⒾⓇⒺⒸⓉⓄⓇ - 11.09.2011

I had the same problem, you opened pawno without includes, next time facing similar problem to to pawno folder, and open pawno.exe, then using 'file', 'open', open your GM, and complile, it should work.