SA-MP Forums Archive
Include 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Include error (/showthread.php?tid=79952)



Include error - TehNobody - 01.06.2009

i got an error: fatal error 100: cannot read from file: "cps"

line: #include <cps>

i donno wats wrong :X


Re: Include error - rafay - 01.06.2009

The cps.inc must be in your pawno/include folder.


Re: Include error - TehNobody - 01.06.2009

Quote:
Originally Posted by Rafay
The cps.inc must be in your pawno/include folder.
You must be kiddin'

lol, i already have it, and already re-put'd in teh map


Re: Include error - member - 01.06.2009

Hi TehNobody,

follow these steps EXACTLY and hopefully it should work.

Quote:
Originally Posted by [B2K
Hustler ]
A lot of people have these problems with includes, including me.
Код:
 fatal error 100: cannot read from file: "includename"
The way I solved this was to:

1) Close Pawno
2) Copy/Move/ or Cut the Include file into the include folder. (\include)
3) Load up Pawno from it's direct source. DO NOT double click on your gamemode/ filterscript file (as most people do).
4) You should see a blank Pawno file open. Now Click on File>Open or type Ctrl+O or press the Open icon.
5) Locate your gamemode/filterscript file and open it.
6) IF you havn't got the include at the top add it
pawn Код:
#include <includename>
7) Compile, it, it Should work.
Hope that Helps.


Re: Include error - Think - 01.06.2009

close pawn, goto your pawn map, open pawno.exe, open your script throught the open function, compile your script, upload your script, play.


Re: Include error - rafay - 01.06.2009

I said the same.