Garry's Mod Wiki

Garry's Mod Wiki

  Panel DForm:NumSlider( string label, string convar, number min, number max, number decimals = 2 )

Description

Adds a DNumSlider onto the DForm

Arguments

1 string label
A short label for the slider.
2 string convar
The console variable to change when the slider is changed
3 number min
The minimum value of the slider
4 number max
The maximum value of the slider
5 number decimals = 2
The number of decimals to allow for the slider value.

Returns

1 Panel
The created DNumSlider.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...