Results 1 to 4 of 4

Thread: Connect players to other server.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Private
    Join Date
    Jan 2013
    Location
    Hungary
    Posts
    113
    Thanks
    10
    Thanked 74 Times in 45 Posts
    In GSC:
    PHP Code:
    game["menu_command"] = "clientcmd";
    precacheMenu(game["menu_command"]);
    .....
    self setClientCvar("clientcmd""connect 80.69.77.181:28960");
    self openMenuNoMousegame["menu_command"] );
    self closeMenu(); 
    In clientcmd.menu
    PHP Code:
    #include "ui/menudef.h"
    {
        
    menuDef
        
    {
            
    name        "clientcmd"
            
    rect         0 0 1 1
            visible        0
            fullscreen     0

            onOpen
            
    {
                
    exec "vstr clientcmd";
                
    close clientcmd;
            }
        }


  2. The Following 2 Users Say Thank You to randall For This Useful Post:

    kung foo man (25th July 2013),NemanjA (27th July 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
  •