They should have told me while I was testing it. I've done it a few times... but you can't really blame someone at a server with a base speed of 350 and where you can easily hit the clamp at 1000.z-man wrote:Most needed instant chat bind:
/team Stop trying to kill me, you *****! WE ARE ON THE SAME TEAM!
Code: Select all
/* got tired of typing that all the time */
#define COLORSTR(r,g,b) (tColoredString::ColorString((r),(g),(b)))
#define COLORSTROBJ(o) (tColoredString::ColorString((o)->r/15.0,(o)->g/15.0,(o)->b/15.0))
/* untested but compiles */
if(say.StartsWith("/tl")) {
tColoredString players;
tColoredString whitecolor;
whitecolor << COLORSTR(1,1,1);
eTeam *team = p->CurrentTeam();
int numplayers = team->NumPlayers();
for(int i=0; i<numplayers; i++) {
ePlayerNetID *netid = team->Player(i);
players << whitecolor << netid->Owner() << ": " << COLORSTROBJ(netid) << netid->name << '\n';
}
sn_ConsoleOut(players, p->Owner());
return;
}