Garry's Mod Wiki

Revision Difference

DForm:CheckBox#513131

<function name="CheckBox" parent="DForm" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Adds a <page>DCheckBoxLabel</page> onto the <page>DForm</page></description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="label" type="string">The label to be set next to the check box</arg>⤶ <arg name="convar" type="string">The console variable to change when this is changed</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="Panel">The created <page>DCheckBoxLabel</page></ret>⤶ </rets>⤶ </function>⤶ ⤶