NPC Code:
if (playerenters&&!isweapon) {
toweapons stats;
destroy;
}
if (isweapon||timeout){
showstats 1+2+4+8+16+256+512+1024;
showimg 400,@arial@b@#v(playerhearts)/#v(playerfullhearts),screenwidth-pixels to the left,pixels from top;
showimg 401,Health bar,screenwidth-pixels to the left you want it,pixels from the top you want it;
showimg 402,Health meter,screenwidth-pixels to the left you want it,pixels from the top you want it;
changeimgpart 401,0,0,100,20;
changeimgpart 402,0,0,(playerhearts/playerfullhearts)*bar image's width in pixels+1,9;
changeimgvis 400,4;
changeimgvis 401,4;
changeimgvis 402,4;
timeout=.05;
}
this is just a basic one... It would have been better if I would have used 1 image (like download time and stuff) but see I didn't because its more easy you...
just kinda mess with the numbers that are in red.. to make everything placed right...
it kinda gives a discription on what to do with that part of the red thing... But like for example how it says
pixels from top it would only be for that section (each section that says that the numbers will probably be different)...