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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Include (
/showthread.php?tid=108545)
Include -
Dreftas - 14.11.2009
Is it possible to include some *.inc not only from /pawno/include/ but from /filterscripts/, /gamemodes/, /scriptfiles/ too ?
Re: Include -
[XST]O_x - 14.11.2009
Edit:Nevermind,Listen to don.
Re: Include -
Correlli - 14.11.2009
Yes.
Example:
pawn Код:
#include "../myfolder/myinc.inc"
Re: Include - Zeex - 14.11.2009
Yes, use relative path. For example:
pawn Код:
#include "../scriptfiles/include.inc"
Quote:
Originally Posted by ►ϻozilla Fir3foж◄
No.
|
Don't tell people about what you don't know.
Re: Include -
Dreftas - 14.11.2009
Quote:
Originally Posted by ZeeX
Yes. Use relative path:
pawn Код:
#include "../path/to/include.inc"
|
Thanks :]
Re: Include -
[XST]O_x - 14.11.2009
Quote:
Originally Posted by ZeeX
Yes, use relative path. For example:
pawn Код:
#include "../scriptfiles/include.inc"
|
And you don't tell people what they have already been told.