DForm/NumSlider

From Garry's Mod
Jump to: navigation, search
 DForm:NumSlider( )

Contents

DescriptionPanelFunc

Adds a DNumSlider onto the DForm

Arguments

string label

The label of the DNumSlider

Arguments

string convar

The console variable to change when the slider is changed

Arguments

number min

The minimum value of the slider

Arguments

number max

The maximum value of the slider

Arguments

number decimals=nil

The number of decimals to allow on the slider. (Optional)

Returns

Panel

The created DNumSlider
Personal tools
Navigation