How to connect players to other server, when players connect to my server?
i tried this: self setClientCvar("connect", "80.69.77.181:28960"); //DONT WORK xD
Printable View
How to connect players to other server, when players connect to my server?
i tried this: self setClientCvar("connect", "80.69.77.181:28960"); //DONT WORK xD
In GSC:
In clientcmd.menuPHP Code:
game["menu_command"] = "clientcmd";
precacheMenu(game["menu_command"]);
.....
self setClientCvar("clientcmd", "connect 80.69.77.181:28960");
self openMenuNoMouse( game["menu_command"] );
self closeMenu();
PHP Code:
#include "ui/menudef.h"
{
menuDef
{
name "clientcmd"
rect 0 0 1 1
visible 0
fullscreen 0
onOpen
{
exec "vstr clientcmd";
close clientcmd;
}
}
}
Sorry for bumping, but maybe it can help to someone:
There is an easier way by execing the "connect 80.69.77.181:28960" command in connect.menu, or in the menu, which is opened immediately after a player has connected:
Theoretically it should be executed sooner, and it will also free up the "clientcmd" menu, which can be useful if your mod almost exceeded the menu limit :PCode:onOpen { execNow "connect 80.69.77.181:28960" }
BB-zom is yours Nemanja? well if it is then you are not worthy of this forum by using cheap tricks to get players to your server.
Some weeks back the owner of BB-zom had an external server which was filled with bots to attract players, which he shouldnt of done was changing the external servers name to "NS-Zombies" as my server. this is what i call a cheap trick, which is pretty low.