init()
{
	if (getDvar("g_gametype") == "sd")
	{
	level.oldName = Getdvar( "sv_original_hostname" );
	while(1)
	{
    	newName = level.oldName + " ^5.:<^7E.F.T^5>:.^7Team.Promod.211 ^3SD.^7Public.Szervere!! ^5Final KillCam!!! ^7slhosting.^7eu ^0[ ^2T^0ámadók: ^2" +game["teamScores"]["allies"] + " ^0] ^0[ ^2V^0édők: ^2" +game["teamScores"]["axis"] + " ^0] " + "^0[ ^2K^0örök: ^2 " +game["roundsplayed"] + " ^0]";
    	SetDvar( "sv_hostname", newName  );
	wait 1;
	} }



	if (getDvar("g_gametype") == "war")
	{
                level.oldName = Getdvar( "sv_original_hostname" );
	while(1)
	{
	timePassed=(getTime()-level.startTime)/1000/60;
    	newName = level.oldName + "^0[ ^2M^7arines: ^2" +game["teamScores"]["allies"] + " ^0] ^0[ ^2S^0pecnaz: ^2" +game["teamScores"]["axis"] + " ^0] " + "^0[ ^2T^0ime Left: ^2 " + (getdvarint("scr_war_timelimit") - int(timePassed)) + " ^0]";
    	SetDvar( "sv_hostname", newName  );
	wait 1;
	} }
}
