Cannot read from file error. -
Crackerz - 10.07.2017
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
Re: Cannot read from file error. -
Alex_T - 10.07.2017
Is the file located in "gamemodes\wcrp\utils.pwn"?
Re: Cannot read from file error. -
Crackerz - 10.07.2017
No, its path is "pawno/wcrp/utils.pwn"
Re: Cannot read from file error. -
Kaperstone - 10.07.2017
Ain't sure whether you can include .pwn files, but try flipping the slash `\`
Re: Cannot read from file error. -
Crackerz - 10.07.2017
I did tried filipping the slash but nothing happened
Re: Cannot read from file error. -
Kaperstone - 10.07.2017
then rename .pwn to .inc
Re: Cannot read from file error. -
Meller - 10.07.2017
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.
Re: Cannot read from file error. -
Kaperstone - 10.07.2017
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 ?
Re: Cannot read from file error. -
Meller - 10.07.2017
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.
Re: Cannot read from file error. -
Kaperstone - 10.07.2017
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.