DForm/NumberWang

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

Contents

DescriptionPanelFunc

Adds a DNumberWang onto the DForm

Arguments

string label

The label to be placed next to the DNumberWang

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 in the slider (Optional)

Returns

Panel

The created DNumberWang

Returns

Panel

The created DLabel
Personal tools
Navigation