DProgressBar.SetMax

From GMod Wiki

Jump to: navigation, search
Function
Syntax DProgressBar.SetMax( Number )
Description:
Sets the maximum value of a progress bar.
Returns: nil
In Object: DProgressBar
Realm: NewerClient.png
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

DescriptionCreates a new progress bar and sets its maximum value to 10.
Used onNewerClient.png
Code
 
myProgressBar = vgui.Create( "DProgressBar")
myProgressBar:SetMax( 10 ) |
  output = None.
 
OutputN/A


Methods

NewerClient.png DProgressBar

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox