if (team_count)
score_color = Team_ColorRGB(pl.team) * 0.8;
- entity entcs = entcs_receiver(pl.sv_entnum);
- if(entcs.m_entcs_private) {
- // z411 draw health/armor bar
- vector bar_sz = vec2(mySize.x, fontsize.y);
-
- bar_sz.x *= entcs.healthvalue / autocvar_hud_panel_healtharmor_maxhealth;
- drawfill(pos, bar_sz, ((team_count) ? score_color : '0.8 0.8 0'), 0.5, DRAWFLAG_NORMAL);
-
- bar_sz.x *= GetResource(entcs, RES_ARMOR) / autocvar_hud_panel_healtharmor_maxarmor;
- drawfill(pos + eY * (bar_sz.y * 0.7), bar_sz - eY * (bar_sz.y * 0.7), ((team_count) ? score_color : '0 0.8 0.8'), 1, DRAWFLAG_NORMAL);
- }
-
if (pl == me)
{
if (i == first_pl)