Filepath

From Multi Theft Auto: Wiki
Revision as of 21:32, 16 June 2009 by Talidan (talk | contribs) (New page: A filepath is a path that leads up to a file. These are relative to the root directory of the resource it is being called from. {{New feature|3|1.0|It is also possible to use specia...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A filepath is a path that leads up to a file. These are relative to the root directory of the resource it is being called from.

It is also possible to use special filepaths in order to reference files from other resources. This can be done with the following syntax

:<resourceName>/file.ext

So, for example

xmlLoadFile ( ":helpmanager/help.xml" )