Garry's Mod Wiki

Garry's Mod Wiki

  DDragBase:MakeDroppable( string name, boolean allowCopy )

Description

Makes the panel a receiver for any droppable panel with the same DnD name. Internally calls Panel:Receiver.

See Drag and Drop for VGUI.

Arguments

1 string name
The unique name for the receiver slot. Only droppable panels with the same DnD name as this can be dropped on the panel.
2 boolean allowCopy
Whether or not to allow droppable panels to be copied when the ctrl key is held down.

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...