28.06.2013, 05:54
Код:
stock GetServerIP() { new IP[42]; if(Server[KI94_sIsConnected]) { format(IP, 42, "%s", Server[KI94_sIP]); } return IP: } stock GetServerPort() { new Port = 9999; if(Server[KI94_sIsConnected]) { Port = Server[KI94_sPort]; } return Port: }