float fieldcounter;\r
void Sbar_PrintStomachboardItem(vector pos, entity pl)\r
{\r
- vector tmp, rgb;\r
- rgb = GetTeamRGB(pl.team);\r
string str;\r
float f, field;\r
\r
- // Layout:\r
- tmp_x = sbwidth;\r
- tmp_y = sbar_fontsize_y * 1.25;\r
- tmp_z = 0;\r
-\r
for(fieldcounter = 1; fieldcounter <= 2; ++fieldcounter)\r
{\r
field = -fieldcounter;\r
}\r
\r
if(field == ST_HEALTH)\r
- if(g_vore_showpreyhealth && stof(str)) { // only if player health is not 0\r
+ if(g_vore_showpreyhealth && stof(str)) { // only if player health is not 0. Also used to hide the predators health\r
pos_x += 138;\r
if(pl.sv_entnum == player_localentnum - 1 || (spectatee_status && pl.sv_entnum == spectatee_status - 1))\r
drawcolorcodedstring(pos, " me", '11 11 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r