Garry's Mod Wiki

Revision Difference

DMenuOptionCVar#517124

<panel> <parent>DMenuOption</parent> <description> <internal></internal> An internal panel used by <page>DMenu</page>. It acts as a menu option that can be checked. It automatically sets and reads the given console variable. It can be right clicked to toggle without closing the <page>DMenu</page>. Use <page>DMenu:AddCVar</page> instead. </description> <hooks>{{ListItem|PANEL/Think</hooks>⤶ <hooks>* <page>PANEL/Think</page></hooks>⤶ </panel> ⤶ ⤶ }}