DTree.AddNode

From GMod Wiki

Jump to: navigation, search
Function
Syntax DTree:AddNode( String String )
Description:
ADD category or folder to DTree().
Returns: DTree_Node
In Object: DTree
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DTree.AddNode]DTree.AddNode [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionADD category or folder to DTree().
Used onNewerClient.png
Code
 
local node = ctrl:AddNode( "1" )
local cnode = node:AddNode( "2" )
local gcnode = cnode:AddNode( "3" )
local gcdnode = gcnode:AddNode( "4" )
 
 
OutputDTree-AddNode.PNG


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox