Garry's Mod Wiki

DNumSlider:SetDefaultValue

  DNumSlider:SetDefaultValue( number default )

Description

Sets the default value of the slider, to be used by DNumSlider:ResetToDefaultValue or by middle mouse clicking the draggable knob of the slider.

Arguments

1 number default
The new default value of the slider to set