Garry's Mod Wiki


  Panel, Panel DForm:NumberWang( string label, string convar, number min, number max, number decimals = nil )


Adds a DNumberWang onto the DForm


1 string label
The label to be placed next to the DNumberWang
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 = nil
The number of decimals to allow in the slider (Optional)


1 Panel
The created DNumberWang
2 Panel
The created DLabel