Garry's Mod Wiki

DForm:NumSlider

DForm:NumSlider

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

Description

Adds a DNumSlider onto the DForm

Arguments

1 string label
The label of the DNumSlider
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 on the slider. (Optional)

Returns

1 Panel
The created DNumSlider

Special Pages


Wikis

?

Render Time: 57ms

DB GetPage 34
Generate Html 9
SaveChanges (1) 5
Render Body 0
Render Sidebar 7