Garry's Mod Wiki

Revision Difference

DFileBrowser:GetPath#562406

<function name="GetPath" parent="DFileBrowser" type="panelfunc"> <description> Returns the access path of the file tree. This is `GAME` unless changed with <page>DFileBrowser:SetPath</page>. An <page>Global.AccessorFunc</page> that returns the access path of the file tree. This is `GAME` unless changed with <page>DFileBrowser:SetPath</page>. See <page>file.Read</page> for how paths work. </description> <realm>Client</realm> <file line="5">lua/vgui/dfilebrowser.lua</file>⤶ <rets> <ret name="" type="string">The current access path i.e. "GAME", "LUA", "DATA" etc.</ret> </rets> </function>