Garry's Mod Wiki

Garry's Mod Wiki

  Panel DProperties:CreateRow( string category, string name )

Description

Creates a row in the properties panel.

Arguments

1 string category
The category to list this row under
2 string name
The label of this row

Returns

1 Panel
An internal Row panel. It has 2 methods of interest:
  • Setup( string type, table vars )
    • Call to set up the panel as one of the DProperty_<type> panels. vars parameter is directly fed into the created DProperty_<type> panels' Setup function.
  • SetValue( any value )
    • Call to set the value on the created DProperty_<type> panel.

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