Garry's Mod Wiki

Revision Difference

DMenu:Open#513480

<function name="Open" parent="DMenu" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>Opens the DMenu at the current mouse position</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="x" type="number" default="gui.MouseX()">Position (X coordinate) to open the menu at.</arg>⤶ <arg name="y" type="number" default="gui.MouseY()">Position (Y coordinate) to open the menu at.</arg>⤶ <arg name="skipanimation" type="any">This argument does nothing.</arg>⤶ <arg name="ownerpanel" type="Panel"></arg>⤶ </args>⤶ </function>⤶ ⤶