Garry's Mod Wiki

DCheckBoxLabel:SetValue

  DCheckBoxLabel:SetValue( boolean checked )

Description

Sets the checked state of the checkbox, and calls DCheckBoxLabel:OnChange and the checkbox's Panel:ConVarChanged methods.

Arguments

1 boolean checked
Whether the box should be checked or not (1 or 0 can also be used).