PlayerRankings: Fix a whoopsie, and change some stuff.
This commit is contained in:
parent
4b6b26dc8b
commit
36ee8de13d
@ -431,7 +431,6 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast
|
|||||||
{
|
{
|
||||||
char sBuffer[512];
|
char sBuffer[512];
|
||||||
Format(sBuffer, sizeof(sBuffer), "TOP DEFENDERS:");
|
Format(sBuffer, sizeof(sBuffer), "TOP DEFENDERS:");
|
||||||
Format(sBuffer, sizeof(sBuffer), "%s\n*************************", sBuffer);
|
|
||||||
|
|
||||||
if (iSortedListDefenders[0][0])
|
if (iSortedListDefenders[0][0])
|
||||||
{
|
{
|
||||||
@ -486,7 +485,6 @@ public void OnRoundEnding(Event hEvent, const char[] sEvent, bool bDontBroadcast
|
|||||||
{
|
{
|
||||||
char sBuffer[512];
|
char sBuffer[512];
|
||||||
Format(sBuffer, sizeof(sBuffer), "TOP INFECTORS:");
|
Format(sBuffer, sizeof(sBuffer), "TOP INFECTORS:");
|
||||||
Format(sBuffer, sizeof(sBuffer), "%s\n*************************", sBuffer);
|
|
||||||
|
|
||||||
if (iSortedListInfectors[0][0])
|
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
|
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);
|
PrintToChatAll(sBuffer);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -798,10 +796,10 @@ void PrintToMessageHUD(int client, int channel, float position[2], int color1[4]
|
|||||||
BfWriteByte(hMessage, color2[3]);
|
BfWriteByte(hMessage, color2[3]);
|
||||||
BfWriteByte(hMessage, effect);
|
BfWriteByte(hMessage, effect);
|
||||||
|
|
||||||
BfWriteFloat(hMessage, 0.1);
|
BfWriteFloat(hMessage, fadein);
|
||||||
BfWriteFloat(hMessage, 0.1);
|
BfWriteFloat(hMessage, fadeout);
|
||||||
BfWriteFloat(hMessage, 5.0);
|
BfWriteFloat(hMessage, hold);
|
||||||
BfWriteFloat(hMessage, 0.0);
|
BfWriteFloat(hMessage, fx);
|
||||||
|
|
||||||
BfWriteString(hMessage, buffer);
|
BfWriteString(hMessage, buffer);
|
||||||
EndMessage();
|
EndMessage();
|
||||||
|
Loading…
Reference in New Issue
Block a user