Question about includes
#1

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.
Reply
#2

Yes they do.
Reply
#3

You can include from anywhere, the extention doesn't matter
Reply
#4

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.
Reply
#5

Thanks everyone.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)