DNumberWang.GetValue

From GMod Wiki

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



Examples

DescriptionReturns the value select in a DNumberWang.
Used onNewerClient.png
Code
local Wang = vgui.Create( "DNumberWang" )
Wang:SetValue(51)
print(Wang:GetValue())      
 
OutputReturns "51" in the console.
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox