Skip to content

Commit

Permalink
Merge pull request #749 from strafe/master
Browse files Browse the repository at this point in the history
Start zone HUD adjustments
  • Loading branch information
shavitush authored Mar 9, 2019
2 parents 9065e6d + cb91330 commit 2f58cca
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion addons/sourcemod/scripting/shavit-hud.sp
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,17 @@ int AddHUDToBuffer_CSGO(int client, huddata_t data, char[] buffer, int maxlen)
{
if(gB_Rankings && (gI_HUD2Settings[client] & HUD2_MAPTIER) == 0)
{
FormatEx(sZoneHUD, 32, "%T\n\n", "HudZoneTier", client, Shavit_GetMapTier(gS_Map));
if(data.iTrack == Track_Main)
{
FormatEx(sZoneHUD, 32, "%T", "HudZoneTier", client, Shavit_GetMapTier(gS_Map));
}

else
{
GetTrackName(client, data.iTrack, sZoneHUD, 32);
}

Format(sZoneHUD, 32, "\t\t%s\n\n", sZoneHUD);
AddHUDLine(buffer, maxlen, sZoneHUD, iLines);
iLines++;
}
Expand Down

0 comments on commit 2f58cca

Please sign in to comment.