Garry's Mod Wiki

Revision Difference

DMenu:OptionSelected#550413

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