DButton/SetDisabled

From Garry's Mod
Revision as of 12:28, 20 December 2018 by Bo98 (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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