Garry's Mod Wiki

Revision Difference

DMenu:OptionSelected#518161

<function name="OptionSelected" parent="DMenu" type="panelfunc"> <ispanel>yes</ispanel> <description>Called when a option has been selected</description> <realm>Client</realm> <args> <arg name="option" type="Panel">The &lt;page&gt;DMenuOption&lt;/page&gt; that was selected</arg> <arg name="option" type="Panel">The <page>DMenuOption</page> that was selected</arg> <arg name="optionText" type="string">The options text</arg> </args> </function>