PHP Code:
function onTimeout() {
temp.img = "armageddon-bar.gif";
temp.img2 = "armageddon-ap.gif";
showimg(200, img, 20, 20);
changeimgvis(200, 4);
changeimgpart(200, 0, 0, (player.ap / 100) * getimgwidth(img), getimgheight(img));
//showimg(201, img2, 19, 19);
//changeimgvis(201, 4);
setTimer(0.05);
}
Trying to make a new bar for player ap. Using this, it does absolutely nothing, which is weird because
PHP Code:
player.hearts / player.fullhearts
works fine.
Also, img 201 is showing on top of img 200, is there a way to change this? Need 200 on top of 201.