TopDefenders: Change the text printed slightly.
Okay maybe not slightly. Whatever.
This commit is contained in:
parent
3c19b91972
commit
c4ada8e92c
@ -404,7 +404,7 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast
|
|||||||
|
|
||||||
for (int rank = 0; rank < iSortedCount; rank++)
|
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)
|
if (iSortedCount)
|
||||||
@ -426,7 +426,7 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast
|
|||||||
|
|
||||||
if (iSortedList[0][0])
|
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");
|
LogPlayerEvent(iSortedList[0][0], "triggered", "top_defender");
|
||||||
|
|
||||||
g_iPlayerWinner[0] = GetSteamAccountID(iSortedList[0][0]);
|
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])
|
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");
|
LogPlayerEvent(iSortedList[1][0], "triggered", "second_defender");
|
||||||
|
|
||||||
g_iPlayerWinner[1] = GetSteamAccountID(iSortedList[1][0]);
|
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])
|
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");
|
LogPlayerEvent(iSortedList[2][0], "triggered", "third_defender");
|
||||||
|
|
||||||
g_iPlayerWinner[2] = GetSteamAccountID(iSortedList[2][0]);
|
g_iPlayerWinner[2] = GetSteamAccountID(iSortedList[2][0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user