DProgressBar.SetMax
From GMod Wiki
Function | |
Syntax | DProgressBar.SetMax( Number ) |
Description: | |
Sets the maximum value of a progress bar. | |
Returns: | nil |
In Object: | DProgressBar |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DProgressBar.SetMax]DProgressBar.SetMax [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
You need this script Progressbar
Examples
Description | Creates a new progress bar and sets its maximum value to 10. |
---|---|
Used on | |
Code | myProgressBar = vgui.Create( "DProgressBar") myProgressBar:SetMax( 10 ) | output = None. |
Output | N/A |