Nice tutorial
More key codes by emz: http://killtube.org/showthread.php?1...ight=backspace
Try something like:
PHP Code:
execKeyInt 32 { play "mouse_click"; scriptMenuResponse "space" }//space
PHP Code:
char(char)
{
if(self.text.size >35)return;//this 35 makes the char size
if (char == "space")
char = " ";
self.text += char;
self setClientCvar("text", self.text);
}