Error?
#1

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.
Reply
#2

This clearly says that you miss the include.
EDIT:this shows
Код:
.pwn
What do you want to say?
Reply
#3

Quote:
Originally Posted by Sojo12
Посмотреть сообщение
This clearly says that you miss the include.
EDIT:this shows
Код:
.pwn
What do you want to say?
so how do i fix this?
Reply
#4

I said "WHAT DO YOU WANT TO SAY"
what is this?an include or the GM itself which is unable to compile?
Reply
#5

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....
Reply
#6

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!
Reply
#7

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!
Reply
#8

What's the name of your include you named in the script and the name the include file's name is?
Reply
#9

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
Reply
#10

Rename the file name which is
Код:
utils
to
Код:
wcrp/utils
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)