Quote:
Originally Posted by LoneAngelIbesu
You can use onKeyDown() for a GuiMLTextEdtCtrl. However, you'll have to sacrifice line breaks. I believe the ENTER key is keycode 28.
|
u can lookup the keycode by doing
PHP Code:
function onKeyPressed(code,key)
{
player.chat = code;
}