Thread: AP bar
View Single Post
  #1  
Old 10-13-2001, 09:42 PM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
AP bar

Here, Why won't the AP go down?

// NPC made by Rob Getashu
timereverywhere;
timeout=.05;
if (playerenters) {toweapons -Ap Bar-
}
//AP Bar
if (isweapon) {
showstats 1+4+8+16+32+128+256+512+1024;
this.apdisplay = ((playerap/100)*100);
showimg 1,rene_apbar.gif,this.pos[0],this.pos[1];
this.pos = {screenwidth-625,70};
}

changeimgvis 1, 4;
if (this.apdisplay>0) {
showimg 2,rene_ap.gif,this.pos[0],this.pos[1];
changeimgpart rene_ap.gif,0,0,this.apdisplay,100;
changeimgvis 2,4;
}

timeout = .05;
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote