IW4M-Admin/Admin/m2demo/admin/commands.gsc
RaidMax 65b65716d2 -webfront now displays player info and link to repz account
-fixed time span issue in webfront
-fixed crash when RCON stops responding and removing a player
-version on footer
2015-04-12 23:25:34 -05:00

41 lines
648 B
Plaintext

#include maps\mp\_utility;
//Manually balance teams for a server
Balance()
{
iPrintLnBold("Balancing Teams!");
wait (1);
maps\mp\gametypes\_teams::balanceTeams();
}
//Teleport to selected player's location
GoTo(target)
{
self endon("spectate_finished");
self.goto = true;
while (isAlive(target))
{
//if (self.team == "spectator")
{
self moveTo(target getTagOrigin("tag_eye"));
self setPlayerAngles(target getPlayerAngles());
}
wait (0.001);
}
}
Alert(sound, message)
{
self playLocalSound(sound);
self iPrintLnBold(message);
}
Tell(message, source)
{
self iPrintLnBold("^1" + source.name + ": ^7" + message);
}