DTree Node.SetTextColor

From GMod Wiki

Jump to: navigation, search
Function
Syntax DTree_Node:SetTextColor( Color textColour )
Description:
Sets the colour of the text to appear in the DTree_Node.
Returns: nil
In Object: DTree_Node
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DTree Node.SetTextColor]DTree Node.SetTextColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionSets the text colour of DTree_Node to red.
Used onNewerClient.png
Code
myLabel:SetTextColor( Color(255, 0, 0, 255) )
OutputMakes the text in the DTree_Nodered


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox