can you set the server name in the game mode
#10

this change the server name every 2 second +- ::D
Code:
new changename = 1;
forward CHANGE();

public OnFilterScriptInit()
{
   SetTimer("CHANGE", 2000, 1);
}

public CHANGE()
{
	if(changename == 1)
 	{
 		changename = 2;
  	SendRconCommand("hostname servername 1");
   	return 1;
  }
	else if(changename == 2)
 	{
 		changename = 3;
  	SendRconCommand("hostname server name 2");
  	return 1;
  }
  else if(changename == 3)
  {
  	changename = 1;
   	SendRconCommand("hostname servername 3");
   	return 1;
  }
  return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)