mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 10:28:26 +00:00
Part 1 - Fixes #310
This commit is contained in:
parent
e6a8cabae5
commit
ad8125f5a6
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user