mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-15 08:04:39 +00:00
Kick Logging
Fixed
This commit is contained in:
parent
33744db36a
commit
986f175c88
1 changed files with 3 additions and 3 deletions
|
|
@ -811,12 +811,12 @@ function DefaultGame::voteKickPlayer(%game, %admin, %client)
|
||||||
messageAll('', '\c1Vote %6: \c0Yea: %1 Nay: %2 Total: %3 [%4%5]', %game.votesFor[%game.kickTeam], %game.votesAgainst[%game.kickTeam], %totalVotes, mfloor((%game.votesFor[%game.kickTeam] / %totalVotes) * 100), "%", %key);
|
messageAll('', '\c1Vote %6: \c0Yea: %1 Nay: %2 Total: %3 [%4%5]', %game.votesFor[%game.kickTeam], %game.votesAgainst[%game.kickTeam], %totalVotes, mfloor((%game.votesFor[%game.kickTeam] / %totalVotes) * 100), "%", %key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(%cause $= "(admin)")
|
||||||
|
adminLog(%admin, " kicked " @ %game.kickClientNameBase @ " (" @ %game.kickGuid @ ")");
|
||||||
|
|
||||||
%game.kickTeam = "";
|
%game.kickTeam = "";
|
||||||
%game.kickGuid = "";
|
%game.kickGuid = "";
|
||||||
%game.kickClientName = "";
|
%game.kickClientName = "";
|
||||||
|
|
||||||
if(%cause !$= "")
|
|
||||||
logEcho($AdminCl.nameBase @ ": " @ %name @ " (cl " @ %game.kickClient @ ") kicked " @ %cause, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue