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: 37ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 13
Render Body 0
Render Sidebar 10