Garry's Mod Wiki

Garry's Mod Wiki

  Panel DForm:Button( string text, string concommand, ... )

Description

Adds a DButton onto the DForm

Arguments

1 string text
The text on the button
2 string concommand
The concommand to run when the button is clicked
3 vararg args
The arguments to pass on to the concommand when the button is clicked

Returns

1 Panel
The created DButton

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 twice a day. Edits and history are not available.

Last Parsed: Loading...