DButton/SetDisabled

From Garry's Mod
Jump to: navigation, search
 DButton:SetDisabled( )

DescriptionPanelFunc

This feature is deprecated.
You should avoid using it as it may be removed in a future version.

Use Panel:SetEnabled instead.
Sets whether or not the DButton is disabled.

When disabled, the button is greyed out and cannot be clicked.

Arguments

boolean disable

trueEnable the button
falseDisable the button
Personal tools
Navigation