Garry's Mod Wiki

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.

Page Links


Special Pages


Wikis

?

Render Time: 43ms

Session 0
DB GetPage 3
Generate Html 8
SaveChanges 18
Render Body 0
Render Sidebar 12