Part 1 - Fixes #310

This commit is contained in:
Technoblazed 2016-11-06 11:48:47 +00:00
parent e6a8cabae5
commit ad8125f5a6

View File

@ -502,9 +502,11 @@ void UpdateHUD(int client)
{
strcopy(sColor, 8, "FF0000");
}
char[] sFormatItem = new char[64];
FormatEx(sFormatItem, 64, "%T\t", "HudPaused", client);
Format(sHintText, 512, "%s%T: <font color='#%s'>%s</font> (%d)", sHintText, "HudTimeText", client, sColor, (tStatus == Timer_Paused)? sFormatItem:sTime, iPotentialRank);
char[] sPauseItem = new char[64];
char[] sUnpausedItem = new char[64];
FormatEx(sPauseItem, 64, "%T\t</font>", "HudPaused", client);
FormatEx(sUnpausedItem, 64, "%s\t</font> (%d)", sTime, iPotentialRank);
Format(sHintText, 512, "%s%T: <font color='#%s'>%s", sHintText, "HudTimeText", client, sColor, (tStatus == Timer_Paused)? sPauseItem:sUnpausedItem);
}
if(fPB > 0.0)