Include problem - 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 problem (
/showthread.php?tid=253414)
Include problem -
Anotniomontana - 06.05.2011
Hey,
In the building of my script I've gotten in to some error, I cannot compile because pawno couldnt read from Dini, YSF, amd WC, that were placed pefrectly fine. Can anyone tell me the soloution to this?
Here's the problem log
Код:
C:\Documents and Settings\MYNAME\Desktop\FOLDER\gamemodes\alpha.pwn(2) : fatal error 100: cannot read from file: "YSF"
Re: Include problem -
Skaizo - 06.05.2011
You have to put the beginning
pawn Код:
#include <YSF>
#include <Dini>
#include <WC>
Re: Include problem -
[DM]Kane - 06.05.2011
You must have forgotten to write
at the top.
Re: Include problem -
Calgon - 06.05.2011
YSF.inc has to be in your '*/pawno/include' directory.
Re: Include problem -
steki. - 06.05.2011
Isn't that YSI?
Re: Include problem -
Anotniomontana - 07.05.2011
First of all, I did write it.
Secondly I placed it in Pawno/include
Re: Include problem -
leong124 - 07.05.2011
Quote:
Originally Posted by [RSS]Cops_sandu
You have to put the beginning
pawn Код:
#include <YSF> #include <Dini> #include <WC>
|
Quote:
Originally Posted by [DM]Kane
You must have forgotten to write
at the top.
|
This error only shows when this is done and the file is not found.
Make sure you are using the pawno with that include, but not the other pawnos.