DNumberWang.GetMax
From GMod Wiki
Function | |
Syntax | Panel:GetMax( ) |
Description: | |
Returns the integer Max of DNumberWang. | |
Returns: | integer Value |
In Object: | Panel |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DNumberWang.GetMax]DNumberWang.GetMax [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Returns the value Maximum of DNumberWang. |
---|---|
Used on | |
Code | local Wang = vgui.Create( "DNumberWang" ) Wang:SetMax(100) print(Wang:GetMax()) |
Output | Returns "100" in the console. |