Cannot read from file error.
#1

Error:
Код:
D:\gta\Egygame.Net.GTA.San.Andreas\GTA San Andreas\GTA San Andreas\server\gamemodes\WCRP.pwn(232) : fatal error 100: cannot read from file: "wcrp/utils.pwn"

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


1 Error.
Error Line:
Код:
#include "wcrp/utils.pwn"
Please guys help me, I have the file in my wcrp folder but still error
Reply
#2

Is the file located in "gamemodes\wcrp\utils.pwn"?
Reply
#3

No, its path is "pawno/wcrp/utils.pwn"
Reply
#4

Ain't sure whether you can include .pwn files, but try flipping the slash `\`
Reply
#5

I did tried filipping the slash but nothing happened
Reply
#6

then rename .pwn to .inc
Reply
#7

Quote:
Originally Posted by Kaperstone
Посмотреть сообщение
then rename .pwn to .inc
good joke

@op

CTRL + H
#include "wcrp/

to

#include "../wcrp/

+, dont fucking steal others scripts if you can't even fix this simple thing.
Reply
#8

Quote:
Originally Posted by Meller
Посмотреть сообщение
good joke
If you have any better ideas you can go ahead and try.
Your reply isn't serving a use if you don't explain yourself.


Quote:
Originally Posted by Alex_T
Посмотреть сообщение
move the wcrp folder to your gamemode folder so its gamemode\wcrp\...
When using pawn, the compiler will include the files from /include folder that is inside the compiler's folder.
It will be weird if it moving to /gamemode will work.

Quote:
Originally Posted by Meller
Посмотреть сообщение
bullshit


@everoyne
stop fucking posting shit that u know wont help.
Well, somebody is having a bad day.



OT: Are you sure it's not a filterscript ?
Reply
#9

Quote:
Originally Posted by Kaperstone
Посмотреть сообщение
If you have any better ideas you can go ahead and try.
Your reply isn't serving a use if you don't explain yourself.



When using pawn, the compiler will include the files from /include folder that is inside the compiler's folder.
It will be weird if it moving to /gamemode will work.


Well, somebody is having a bad day.



OT: Are you sure it's not a filterscript ?
I edited this script not too long ago, had this same "issue", solved it instantly bcus I'm not stupid and renaming .pwn to .inc for no reason.
Reply
#10

Quote:
Originally Posted by Meller
Посмотреть сообщение
I edited this script not too long ago, had this same "issue", solved it instantly bcus I'm not stupid and renaming .pwn to .inc for no reason.
So you knew the answer and didn't reply.



P.S. file ext. sometimes do matter, fyi.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)