I use sprite font for these types of HUD bars:
<img src="http://i35.tinypic.com/6xzvko.jpg">
I just go always: showtext: left( "aaaaaaaaa", hpvalue)
where "a" represents a sprite for one HP slot thing, then it only shows X amount of the "a"s from the left.