DNumPad.SetSelected

From GMod Wiki

Jump to: navigation, search
Function
Syntax NumPad:SetSelected( integer value )
Description:
Sets the value selected of DNumPad.
Returns: nil
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DNumPad.SetSelected]DNumPad.SetSelected [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionSets the value selected of NumPad.
Used onNewerClient.png
Code
local NumPad = vgui.Create( "DNumberWang" )
NumPad:SetSelected(5)
 
 
OutputDNumPad-SetValue.PNG
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox