Garry's Mod Wiki

Garry's Mod Wiki

  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.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...