Garry's Mod Wiki

Garry's Mod Wiki

  DTree_Node:MakeFolder( string folder, string path, boolean showFiles = false, string wildcard = "*", boolean dontForceExpandable = false )

Description

Makes this node a folder in the filesystem. This will make it automatically populated.

See also DTree_Node:AddFolder.

Arguments

1 string folder
The folder in the filesystem to use, relative to the garrysmod/ folder.
2 string path
The path to search in. See File Search Paths
3 boolean showFiles = false
Should files be added as nodes (true) or folders only (false)
4 string wildcard = "*"
The wildcard to use when searching for files.
5 boolean dontForceExpandable = false
If set to true, don't show the expand buttons on empty nodes.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...