Garry's Mod Wiki

Revision Difference

DNumSlider:SetDefaultValue#550507

<function name="SetDefaultValue" parent="DNumSlider" type="panelfunc"> <ispanel>yes</ispanel> <description>Sets the default value of the slider, to be used by <page>DNumSlider:ResetToDefaultValue</page> or by middle mouse clicking the draggable knob of the slider.</description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="default" type="number">The new default value of the slider to set</arg> </args> </function>