mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-04-28 15:05:24 +00:00
Clearer Notes
This commit is contained in:
parent
877b77e65c
commit
1acfaa3a77
1 changed files with 5 additions and 4 deletions
|
|
@ -168,6 +168,7 @@ function teamkillLog(%victimID, %killerID)
|
|||
|
||||
//Killer tks / Victim tks
|
||||
//Note: %killerID.teamkills + 1 as this is added later
|
||||
//Tks For this map only
|
||||
%ktk = %killerID.teamkills + 1;
|
||||
%vtk = %victimID.teamkills;
|
||||
|
||||
|
|
@ -176,14 +177,14 @@ function teamkillLog(%victimID, %killerID)
|
|||
if(!%killerID.isAdmin) //Admins dont get warnings
|
||||
{
|
||||
if(%ktk >= $Host::TKWarn1 && %ktk < $Host::TKWarn2)
|
||||
%s = " [Warned] ";
|
||||
%s = "[Warned] ";
|
||||
else if(%ktk >= $Host::TKWarn2 && %ktk < $Host::TKMax)
|
||||
%s = " [Warned 2] ";
|
||||
%s = "[Warned 2] ";
|
||||
else if(%ktk >= $Host::TKMax)
|
||||
%s = " [Kicked] ";
|
||||
%s = "[Kicked] ";
|
||||
}
|
||||
|
||||
$teamkillLog = formatTimeString("M-d") SPC formatTimeString("[hh:nn:a]") @ %s @ %killerID.nameBase @ " (" @ %killerID.guid @ ")[" @ %ktk @ " tks] teamkilled" SPC %victimID.nameBase @ "[" @ %vtk @ " tks]. #P[" @ $HostGamePlayerCount @ "]" SPC "CM[" @ $CurrentMission @ "]";
|
||||
$teamkillLog = formatTimeString("M-d") SPC formatTimeString("[hh:nn:a]") SPC %s @ %killerID.nameBase @ "(" @ %killerID.guid @ ")[" @ %ktk @ " tk] teamkilled" SPC %victimID.nameBase @ "[" @ %vtk @ " tk]. #P[" @ $HostGamePlayerCount @ "]" SPC "CM[" @ $CurrentMission @ "]";
|
||||
$teamkillLog = stripChars($teamkillLog, "\c0\c1\c2\c3\c4\c5\c6\c7\c8\c9\x10\x11\co\cp");
|
||||
|
||||
%logpath = $Host::ClassicTeamKillLogPath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue