Garry's Mod Wiki



  DMenu:Open( number x = gui.MouseX(), number y = gui.MouseY(), any skipanimation = nil, Panel ownerpanel = nil )


Opens the DMenu at the current mouse position


1 number x = gui.MouseX()
Position (X coordinate) to open the menu at.
2 number y = gui.MouseY()
Position (Y coordinate) to open the menu at.
3 any skipanimation = nil
This argument does nothing.
4 Panel ownerpanel = nil
If x and y are not set manually, setting this argument will offset the y position of the opened menu by the height of given panel.

Special Pages



Render Time: 97ms

DB GetPage 41
Generate Html 5
SaveChanges (1) 41
Render Body 0
Render Sidebar 8