Garry's Mod Wiki

DLabelEditable:OnLabelTextChanged

DLabelEditable:OnLabelTextChanged

  string DLabelEditable:OnLabelTextChanged( string txt )

Description

A hook called when the player presses Enter (i.e. the finished editing the label) and the text has changed.

Allows you to override/modify the text that will be set to display.

Arguments

1 string txt
The original user input text

Returns

1 string
If provided, will override the text that will be applied to the label itself.

Special Pages


Wikis

?

Render Time: 17ms

DB GetPage 1
Generate Html 2
SaveChanges (1) 5
Render Body 0
Render Sidebar 6