Garry's Mod Wiki

DForm:TextEntry

  Panel, Panel DForm:TextEntry( string label, string convar )

Description

Adds a DTextEntry to a DForm

Arguments

1 string label
The label to be next to the text entry
2 string convar
The console variable to be changed when the text entry is changed

Returns

1 Panel
The created DTextEntry
2 Panel
The created DLabel