Originally Posted by Iriel
Well, you'd do something like
yourConfig.configValue = ButtonName:GetChecked() or false;
|
wow....is this means that a nil value won't return to yourConfig.configValue ?
and
Code:
yourConfig.configValue = ButtonName:GetChecked() or 0;
is it OK?
so ButtonName:SetChecked() can use this yourConfig.configValue without a IF