Garry's Mod Wiki

DForm:TextEntry

  DTextEntry, DLabel 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 DTextEntry
The created DTextEntry
2 DLabel
The created DLabel