Garry's Mod Wiki

Garry's Mod Wiki

  dragndrop.CallReceiverFunction( boolean bDoDrop, number command, number mx, number my )

Description

This is used internally - although you're able to use it you probably shouldn't.

Calls the receiver function of hovered panel.

Arguments

1 boolean bDoDrop
true if the mouse was released, false if we right clicked.
2 number command
The command value. This should be the ID of the clicked dropdown menu ( if right clicked, or nil )
3 number mx
The local to the panel mouse cursor X position when the click happened.
4 number my
The local to the panel mouse cursor Y position when the click happened.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...