mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
Show time in CS:S while paused.
This commit is contained in:
parent
d7f9ed3186
commit
a4bcaa6fcf
@ -771,8 +771,6 @@ void UpdateHUD(int client)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(status != Timer_Stopped)
|
if(status != Timer_Stopped)
|
||||||
{
|
|
||||||
if(Shavit_GetTimerStatus(target) == Timer_Running)
|
|
||||||
{
|
{
|
||||||
char[] sFirstLine = new char[64];
|
char[] sFirstLine = new char[64];
|
||||||
strcopy(sFirstLine, 64, gS_StyleStrings[style][sStyleName]);
|
strcopy(sFirstLine, 64, gS_StyleStrings[style][sStyleName]);
|
||||||
@ -783,11 +781,10 @@ void UpdateHUD(int client)
|
|||||||
}
|
}
|
||||||
|
|
||||||
FormatEx(sHintText, 512, "%s\n%T: %s (%d)\n%T: %d\n%T: %d\n%T: %d%s", sFirstLine, "HudTimeText", client, sTime, rank, "HudJumpsText", client, jumps, "HudStrafeText", client, strafes, "HudSpeedText", client, iSpeed, (gA_StyleSettings[style][fVelocityLimit] > 0.0 && Shavit_InsideZone(target, Zone_NoVelLimit, -1))? "\nNo Speed Limit":"");
|
FormatEx(sHintText, 512, "%s\n%T: %s (%d)\n%T: %d\n%T: %d\n%T: %d%s", sFirstLine, "HudTimeText", client, sTime, rank, "HudJumpsText", client, jumps, "HudStrafeText", client, strafes, "HudSpeedText", client, iSpeed, (gA_StyleSettings[style][fVelocityLimit] > 0.0 && Shavit_InsideZone(target, Zone_NoVelLimit, -1))? "\nNo Speed Limit":"");
|
||||||
}
|
|
||||||
|
|
||||||
else
|
if(Shavit_GetTimerStatus(target) == Timer_Paused)
|
||||||
{
|
{
|
||||||
FormatEx(sHintText, 16, "%T", "HudPaused", client);
|
Format(sHintText, 512, "%s\n%T", sHintText, "HudPaused", client);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(track != Track_Main)
|
if(track != Track_Main)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user