Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
change spec keys, no new line on some keys
Browse files Browse the repository at this point in the history
  • Loading branch information
totles committed Feb 17, 2019
1 parent 3c2b25d commit f88a0a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Binary file modified addons/sourcemod/plugins/surftimer.smx
Binary file not shown.
12 changes: 6 additions & 6 deletions addons/sourcemod/scripting/surftimer/misc.sp
Original file line number Diff line number Diff line change
Expand Up @@ -3274,19 +3274,19 @@ public void CenterHudDead(int client)
else
Format(sResult, sizeof(sResult), "%s _", sResult);
if (Buttons & IN_DUCK)
Format(sResult, sizeof(sResult), "%s - <font color='#b48ead'>+D</font>", sResult);
Format(sResult, sizeof(sResult), "%s - <font color='#b48ead'>C</font>", sResult);
else
Format(sResult, sizeof(sResult), "%s - _", sResult);
if (Buttons & IN_JUMP)
Format(sResult, sizeof(sResult), "%s <font color='#b48ead'>+J</font>", sResult);
Format(sResult, sizeof(sResult), "%s <font color='#b48ead'>J</font>", sResult);
else
Format(sResult, sizeof(sResult), "%s _", sResult);
if (Buttons & IN_LEFT)
Format(sResult, sizeof(sResult), "%s <font color='#b48ead'>+L</font>", sResult);
Format(sResult, sizeof(sResult), "%s <font color='#b48ead'>L</font>", sResult);
else
Format(sResult, sizeof(sResult), "%s _", sResult);
if (Buttons & IN_RIGHT)
Format(sResult, sizeof(sResult), "%s <font color='#b48ead'>+R</font>", sResult);
Format(sResult, sizeof(sResult), "%s <font color='#b48ead'>R</font>", sResult);
else
Format(sResult, sizeof(sResult), "%s _", sResult);

Expand All @@ -3299,7 +3299,7 @@ public void CenterHudDead(int client)
else if (ObservedUser == g_WrcpBot)
Format(obsAika, sizeof(obsAika), "<font color='#ebcb8b'>%s</font>", g_szWrcpReplayTime[g_iCurrentlyPlayingStage]);

PrintHintText(client, "<pre><font face=''>%s\nSpeed: <font color='#5e81ac'>%i</font> u/s\nKeys: %s</pre>", obsAika, RoundToNearest(g_fLastSpeed[ObservedUser]), sResult);
PrintHintText(client, "<pre><font face=''>%s\nSpeed: <font color='#5e81ac'>%i</font> u/s\n%s</pre>", obsAika, RoundToNearest(g_fLastSpeed[ObservedUser]), sResult);
return;
}
else if (g_bTimerRunning[ObservedUser])
Expand All @@ -3325,7 +3325,7 @@ public void CenterHudDead(int client)
else if (g_iCurrentStyle[ObservedUser] != 0)
Format(timerText, 32, "%s ", g_szStyleHud[ObservedUser]);

PrintHintText(client, "<pre><font face=''>%s <font color='#a3be8c'>%s</font>\nSpeed: <font color='#5e81ac'>%i</font> u/s\nKeys: %s</pre>", timerText, obsAika, RoundToNearest(g_fLastSpeed[ObservedUser]), sResult);
PrintHintText(client, "<pre><font face=''>%s <font color='#a3be8c'>%s</font>\nSpeed: <font color='#5e81ac'>%i</font> u/s\n%s</pre>", timerText, obsAika, RoundToNearest(g_fLastSpeed[ObservedUser]), sResult);
}
}
else
Expand Down

0 comments on commit f88a0a7

Please sign in to comment.