DNumberWang.GetMax

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:GetMax( )
Description:
Returns the integer Max of DNumberWang.
Returns: integer Value
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DNumberWang.GetMax]DNumberWang.GetMax [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionReturns the value Maximum of DNumberWang.
Used onNewerClient.png
Code
local Wang = vgui.Create( "DNumberWang" )
Wang:SetMax(100)
print(Wang:GetMax())      
 
OutputReturns "100" in the console.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox