Trouble with a include - 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: Trouble with a include (
/showthread.php?tid=485635)
Trouble with a include -
KtotheYle - 05.01.2014
Hello members, so I am running into this error where I compile my script and I get this error
Код:
H:\Users\Lockard\Desktop\Everything GTA SAMP not in GTA\esg\gamemodes\egrp.pwn(7) : fatal error 100: cannot read from file: "bodyparts"
But on the line above I have it included
Код:
#include <bodyparts>
It should be the current version, downloaded it from the FTP of the server I am scripting for. Any help is much thanked for.
Re: Trouble with a include -
iOxide - 05.01.2014
I think opening pawno as an administrator and then opening gamemode/filterscript where you have included that include and then recompiling it should fix the problem, i had same problem that the server wasn't reading from any includes so i opened pawno as admin and then recompiled the gamemode with it then worked fine.
Re: Trouble with a include -
Sawalha - 05.01.2014
Then, do this:
1) first open pawno folder where you put your server folder..
2) when you open the folder , open pawno.exe not gamemods.. or fs
3) you will get a white sheet, at up go to File > Open > Open your gamemode (But it should be putted in same server file)
4) compile it
i had the same problem and fixed it like this
Re: Trouble with a include -
SyntaxQ - 05.01.2014
Have you placed the .inc file in your PAWNO/Includes folder? If you have placed it correctly then you should run it as administrator..
Re: Trouble with a include -
KtotheYle - 05.01.2014
Looks to have worked! Opening it as administrator and running it form the pawno file, not clicking the gamemode fixed it. Thank you all +rep!