Garry's Mod Wiki

Garry's Mod Wiki

  DLabel:SetHighlight( boolean highlight )

Description

Sets the color of the text to the highlight text color defined in the skin.

For the default Derma skin this makes the label red.

Overrides colors set by both DLabel:SetBright and DLabel:SetDark while active.

You should only consider using this if you are using background elements that are not manually painted and are using the skin colors. Otherwise use DLabel:SetTextColor.

Arguments

1 boolean highlight
true to set the label's color to skins's text highlight color, false otherwise.

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...