Garry's Mod Wiki

DNumSlider:ResetToDefaultValue

  DNumSlider:ResetToDefaultValue()

Description

Resets the slider to the default value, if one was set by DNumSlider:SetDefaultValue.

This function is called by the DNumSlider when user middle mouse clicks on the draggable knob of the slider.