Quote:
Originally posted by BocoC
Welcome ^_^ People normally use screenwidth and screenheight to place custom status bars on screen. Like:
NPC Code:
if (timeout) {
showimg 1000,myhpbar.gif,screenwidth*0.85,screenheight*0.1 ;
changeimgpart 1000,0,0,int(playerhearts/playerfullhearts),10;
timeout=0.05;
}
|
it would look better like this
NPC Code:
if (timeout) {
showimg 1000,myhpbar.gif,screenwidth-150,50;
changeimgpart 1000,0,0,int(playerhearts/playerfullhearts),10;
timeout=0.05;
}
so then it is always constant on were it is on the screen (so it doesn't get moved if you get what I mean)