Garry's Mod Wiki

Revision Difference

util.RelativePathToFull#562970

<cat>libraryfunc</cat>⤶ <function name="RelativePathToFull" parent="util" type="libraryfunc">⤶ <realm>Shared</realm>⤶ <description>⤶ <deprecated>There is no replacement for this function.</deprecated>⤶ Finds the full path from the given relative path.⤶ </description>⤶ <args>⤶ <arg name="path" type="string">Finds the full path from the given relative path.</arg>⤶ </args>⤶ </function>⤶ ⤶ <example>⤶ <description>Prints the full path to a file.</description>⤶ <code>⤶ util.RelativePathToFull("gameinfo.txt");⤶ </code>⤶ <output>⤶ ```lua⤶ c:\program files\steam\steamapps\username\garrysmod\garrysmod\gameinfo.txt⤶ ```⤶ </output>⤶ </example>