util.RelativePathToFull
From GMod Wiki
Revision as of 19:15, 29 October 2009 by Crazy Quebecer (Talk | contribs)
| Function | |
| Syntax |
util.RelativePathToFull( String path ) Where is this used? |
| Description: | |
| Finds the full path from the given relative path. | |
| Returns: | String |
| Part of Library: | Util |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Util.RelativePathToFull]Util.RelativePathToFull [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Prints the full path to a file. |
|---|---|
| Used on | |
| Code | util.RelativePathToFull("gameinfo.txt"); |
| Output | c:\program files\steam\steamapps\username\garrysmod\garrysmod\gameinfo.txt |