Garry's Mod Wiki

DFileBrowser:SetBaseFolder

  DFileBrowser:SetBaseFolder( string baseDir )

Description

An AccessorFunc that sets the root directory/folder of the file tree.

This needs to be set for the file tree to be displayed.

Arguments

1 string baseDir
The path to the folder to use as the root.