Garry's Mod Wiki

Garry's Mod Wiki

  boolean TextEntry:OnKeyCodeTyped( number keyCode )

Description

Called from engine whenever a valid character is typed while the text entry is focused.

Used internally for functionality of DTextEntry

Arguments

1 number keyCode
They key code of the key pressed, see KEY enum.

Returns

1 boolean
Whether you've handled the key press. Returning true prevents the default text entry behavior from occurring.

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...