02.02.2012, 02:51
This might be a noob question, well i forgot how to do this so can people remind me. How do i make multi server names "Hostname"
#define HOSTNAME1 "hostname host-1"
#define HOSTNAME2 "hostname host-2"
#define HOSTNAME3 "hostname host-3"
// etc
forward Hostname1();
public Hostname1()
{
SetTimer("Hostname2", 10000, 0);
return 1;
}
forward Hostname2();
public Hostname2()
{
SendRconCommand(HOSTNAME2);
SetTimer("Hostname3", 10000, 0);
return 1;
}