DTree Node.SetTextColor
From GMod Wiki
| 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: |
|
| 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
| Description | Sets the text colour of DTree_Node to red. |
|---|---|
| Used on | |
| Code | myLabel:SetTextColor( Color(255, 0, 0, 255) ) |
| Output | Makes the text in the DTree_Nodered |