Error? - 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: Error? (
/showthread.php?tid=520532)
Error? -
TheKillZone - 19.06.2014
Hey guys, i was trying to compile a GM and then it brings up an error and wont let me compile it, and to be honest i have no idea what to do with this, please help! :
C:\Users\PC\Desktop\server\gamemodes\WCRP.pwn(240) : fatal error 100: cannot read from file: "wcrp\utils.pwn"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: Error? -
Sojo12 - 19.06.2014
This clearly says that you miss the include.
EDIT:this shows
What do you want to say?
Re: Error? -
TheKillZone - 19.06.2014
Quote:
Originally Posted by Sojo12
This clearly says that you miss the include.
EDIT:this shows What do you want to say?
|
so how do i fix this?
Re: Error? -
Sojo12 - 19.06.2014
I said "
WHAT DO YOU WANT TO SAY"
what is this?an include or the GM itself which is unable to compile?
Re: Error? -
TheKillZone - 19.06.2014
Quote:
Originally Posted by Sojo12
I said "WHAT DO YOU WANT TO SAY"
what is this?an include or the GM itself which is unable to compile?
|
The GM cannot compile as it cannot read another file for some reason....
Re: Error? -
Sojo12 - 19.06.2014
Quote:
Originally Posted by TheKillZone
The GM cannot compile as it cannot read another file for some reason....
|
"cannot read from the file" means that you do not have it!
Re: Error? -
TheKillZone - 19.06.2014
Quote:
Originally Posted by Sojo12
"cannot read from the file" means that you do not have it!
|
That's what i am confused about! i just checked and the file exists! it is right here infront of me except i do not know what to do!
Re: Error? -
Sojo12 - 19.06.2014
What's the name of your include you named in the script and the name the include file's name is?
Re: Error? -
TheKillZone - 19.06.2014
Quote:
Originally Posted by Sojo12
What's the name of your include you named in the script and the name the include file's name is?
|
This is what is named in the script (GM):
new nodp = 0;
#include "wcrp\utils.pwn"
And this is what the file's name is: utils
and it is located in a folder next to the gamemodes folder and scriptfiles folder, which is called: wcrp
Re: Error? -
Sojo12 - 19.06.2014
Rename the file name which is
to