From c4ada8e92c1bf506146778b649865ed5def1ac10 Mon Sep 17 00:00:00 2001 From: zaCade Date: Thu, 20 Sep 2018 21:32:41 +0200 Subject: [PATCH] TopDefenders: Change the text printed slightly. Okay maybe not slightly. Whatever. --- TopDefenders/scripting/TopDefenders.sp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TopDefenders/scripting/TopDefenders.sp b/TopDefenders/scripting/TopDefenders.sp index 9b813344..5febb111 100644 --- a/TopDefenders/scripting/TopDefenders.sp +++ b/TopDefenders/scripting/TopDefenders.sp @@ -404,7 +404,7 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast for (int rank = 0; rank < iSortedCount; rank++) { - LogMessage("%d - %L (%d) [%d]", rank + 1, iSortedList[rank][0], iSortedList[rank][1], iSortedList[rank][2]) + LogMessage("%d. %L - %d damage in %d hits", rank + 1, iSortedList[rank][0], iSortedList[rank][1], iSortedList[rank][2]) } if (iSortedCount) @@ -426,7 +426,7 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast if (iSortedList[0][0]) { - Format(sBuffer, sizeof(sBuffer), "%s\n1. %N - %d DMG in %d hits", sBuffer, iSortedList[0][0], iSortedList[0][1], iSortedList[0][2]); + Format(sBuffer, sizeof(sBuffer), "%s\n1. %N - %d damage in %d hits", sBuffer, iSortedList[0][0], iSortedList[0][1], iSortedList[0][2]); LogPlayerEvent(iSortedList[0][0], "triggered", "top_defender"); g_iPlayerWinner[0] = GetSteamAccountID(iSortedList[0][0]); @@ -434,7 +434,7 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast if (iSortedList[1][0]) { - Format(sBuffer, sizeof(sBuffer), "%s\n2. %N - %d DMG in %d hits", sBuffer, iSortedList[1][0], iSortedList[1][1], iSortedList[1][2]); + Format(sBuffer, sizeof(sBuffer), "%s\n2. %N - %d damage in %d hits", sBuffer, iSortedList[1][0], iSortedList[1][1], iSortedList[1][2]); LogPlayerEvent(iSortedList[1][0], "triggered", "second_defender"); g_iPlayerWinner[1] = GetSteamAccountID(iSortedList[1][0]); @@ -442,7 +442,7 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast if (iSortedList[2][0]) { - Format(sBuffer, sizeof(sBuffer), "%s\n3. %N - %d DMG in %d hits", sBuffer, iSortedList[2][0], iSortedList[2][1], iSortedList[2][2]); + Format(sBuffer, sizeof(sBuffer), "%s\n3. %N - %d damage in %d hits", sBuffer, iSortedList[2][0], iSortedList[2][1], iSortedList[2][2]); LogPlayerEvent(iSortedList[2][0], "triggered", "third_defender"); g_iPlayerWinner[2] = GetSteamAccountID(iSortedList[2][0]);