Garry's Mod Wiki

DMenuOption:SetIsCheckable

  DMenuOption:SetIsCheckable( boolean checkable )

Description

Sets whether the DMenuOption is a checkbox option or a normal button option.

Enables automatic DMenuOption:GetChecked toggling with left/right clicks.

Arguments

1 boolean checkable
Whether the menu option should allow the player to toggle itself.