Garry's Mod Wiki


  DTextEntry:OnValueChange( string value )


Called when the text changes of the DTextEntry are applied. (And set to the attached console variable, if one is given)

See also DTextEntry:OnChange for a function that is called on every text change, even if the console variable is not updated.

You should override this function to define custom behavior when the text changes.

This method is called:


1 string value
The DTextEntry text.