Results 1 to 4 of 4

Thread: Tutorial: How to make virtual keyboard in menu.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    Assadministrator kung foo man's Avatar
    Join Date
    Jun 2012
    Location
    trailerpark
    Posts
    2,011
    Thanks
    2,102
    Thanked 1,084 Times in 753 Posts
    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);

    timescale 0.01

  2. The Following User Says Thank You to kung foo man For This Useful Post:

    NemanjA (30th August 2013)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •