#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=277844)
#include -
svaba - 19.08.2011
Hey, i want to create a custom folder in pawno/include and add files there for like #define COLOR etc
Now how to define it in the script? #include <customfolder/file.inc> ??
Re: #include -
Wesley221 - 19.08.2011
You can simply just make a file, and add it in the pawno/includes
Then include it like "#include <filename>"
Re: #include -
svaba - 19.08.2011
Yes but i want to add it in a custom folder for the gamemode to make it look better
Re: #include -
=WoR=G4M3Ov3r - 19.08.2011
pawn Код:
#include <NameOfTheFolder\Include>
Replace NameOfTheFolder with the name of the folder you've added, and the Include with the .inc file
Re: #include -
Wesley221 - 19.08.2011
Ah, then just include it like you just did
#include <mapname/filename>
Re: #include -
svaba - 19.08.2011
Thanks