I need a slider to change the value of a variable. How do I do this?
Use the Garrysmod wiki...
[url=http://wiki.garrysmod.com/?title=Lua]here[/url]
I did, it didn't give me any clues as to how it's done.
You can either use [url=http://wiki.garrysmod.com/?title=DNumSlider.ValueChanged]ValueChanged[/url] or you can get the slider to change a convar: [url=http://wiki.garrysmod.com/?title=DNumSlider.SetConVar]SetConVar[/url]