DProgressBar.SetColor
From GMod Wiki
Function | |
Syntax | DProgressBar:SetColor( Color ) |
Description: | |
Sets the color of the progress bar. | |
Returns: | nil |
In Object: | DProgressBar |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DProgressBar.SetColor]DProgressBar.SetColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
You need this script Progressbar
Examples
Description | Sets the progress bar's color to green. |
---|---|
Used on | |
Code | myProgressBar = vgui.Create( "DProgressBar") myProgressBar:SetColor(Color(0,255,0)) |
Output |