PlayerRankings: Fix a whoopsie, and change some stuff.

This commit is contained in:
zaCade 2019-07-15 13:14:08 +02:00
parent 4b6b26dc8b
commit 36ee8de13d

View File

@ -431,7 +431,6 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast
{
char sBuffer[512];
Format(sBuffer, sizeof(sBuffer), "TOP DEFENDERS:");
Format(sBuffer, sizeof(sBuffer), "%s\n*************************", sBuffer);
if (iSortedListDefenders[0][0])
{
@ -486,7 +485,6 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast
{
char sBuffer[512];
Format(sBuffer, sizeof(sBuffer), "TOP INFECTORS:");
Format(sBuffer, sizeof(sBuffer), "%s\n*************************", sBuffer);
if (iSortedListInfectors[0][0])
{
@ -522,11 +520,11 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast
}
}
PrintToMessageHUD(0, 55, Float:{0.02, 0.63}, {255, 0, 0, 255}, {255, 255, 255, 255}, 0, 0.1, 0.1, 5.0, 0.0, sBuffer);
PrintToMessageHUD(0, 55, Float:{0.02, 0.6}, {255, 0, 0, 255}, {255, 255, 255, 255}, 0, 0.1, 0.1, 5.0, 0.0, sBuffer);
}
else
{
PrintToMessageHUD(0, 55, Float:{0.02, 0.43}, {255, 0, 0, 255}, {255, 255, 255, 255}, 0, 0.1, 0.1, 5.0, 0.0, sBuffer);
PrintToMessageHUD(0, 55, Float:{0.02, 0.4}, {255, 0, 0, 255}, {255, 255, 255, 255}, 0, 0.1, 0.1, 5.0, 0.0, sBuffer);
PrintToChatAll(sBuffer);
}
}
@ -798,10 +796,10 @@ void PrintToMessageHUD(int client, int channel, float position[2], int color1[4]
BfWriteByte(hMessage, color2[3]);
BfWriteByte(hMessage, effect);
BfWriteFloat(hMessage, 0.1);
BfWriteFloat(hMessage, 0.1);
BfWriteFloat(hMessage, 5.0);
BfWriteFloat(hMessage, 0.0);
BfWriteFloat(hMessage, fadein);
BfWriteFloat(hMessage, fadeout);
BfWriteFloat(hMessage, hold);
BfWriteFloat(hMessage, fx);
BfWriteString(hMessage, buffer);
EndMessage();