Whats the width and height of your health.png?

try this code:

Code:
window(22,4,png_width_in_pixels,png_height_in_pixels,"health.png",health,0);


this is for a horizontaly bar.
If you decrease now the health variable, the bar should become shorter.

Last edited by zwecklos; 10/30/08 01:57.