DAlphaBar.SetImageColor

From GMod Wiki

Jump to: navigation, search
Function
Syntax DAlphaBar:SetImageColor( Color color )
Description:
Sets the background colour of a DAlphaBar.
Returns: nil
In Object: DAlphaBar
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DAlphaBar.SetImageColor]DAlphaBar.SetImageColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets the background colour of a DAlphaBar to red.
Used onNewerClient.png
Code
//Code creating the bar
 
bar:SetImageColor(Color(255, 0, 0, 255))
Output4bbb59067f673-DAlphaBar.png


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox