float sbar_scoreboard_alpha_name;\r
float sbar_scoreboard_alpha_name_self;\r
\r
-string portrait_image;\r
+string portrait_image, portrait_name;\r
float portrait_time;\r
\r
float ps_primary, ps_secondary;\r
left_y = vid_conheight / 2;\r
\r
if(portrait_time)\r
+ {\r
drawpic(left + '10 -80 0', portrait_image, '120 160 0', '1 1 1', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+ drawcolorcodedstring(left + '10 80 0', portrait_name, '12 12 0', sbar_alpha_fg, DRAWFLAG_NORMAL);\r
+ }\r
}\r
\r
void Sbar_Score()\r
pl_name = ReadString();\r
\r
portrait_time = time;\r
+ portrait_name = strzone(pl_name);\r
\r
// obtain the image name from the text file\r
float glob, i, fh;\r