DLabel.SetTextColor
From GMod Wiki
Function | |
Syntax | DLabel:SetTextColor( Color textColour ) |
Description: | |
Sets the colour of the text to appear in the DLabel. | |
Returns: | nil |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DLabel.SetTextColor]DLabel.SetTextColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
Description | Sets the text colour of myLabel to red. |
---|---|
Used on | |
Code | myLabel:SetTextColor( Color(255, 0, 0, 255) ) |
Output | Makes the text in the DLabel red |