Posts: 81
Threads: 13
Joined: Nov 2015
Reputation:
0
Do they really need to be at /pawno/include or can i include them from let's say /gamemodes/some_gamemode/includes ?
And do includes really have to have an .inc extension?
Thanks.
Posts: 2,856
Threads: 6
Joined: Jun 2007
Reputation:
0
You can include from anywhere, the extention doesn't matter
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
Long answer: if the include name is enclosed in angle brackets <> then the Pawn parser will only look in a set of predefined directories (i.e. pawno\include). If not, the directive symbolizes a path relative to the current directory. To travel up through the directory structure you use "..", e.g. "../settings.cfg" would include that file from the server's root directory.