Garry's Mod Wiki

DSlider:SetConVarX

  DSlider:SetConVarX( string convar )

Description

Sets the ConVar to be set when the slider changes on the X axis.

Arguments

1 string convar
Name of the convar to set.