Thread: My MP Bar
View Single Post
  #1  
Old 10-02-2001, 02:44 AM
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
Post My MP Bar

How would I make my own MP bar? Sorta like making your own AP bar. I started to make one but for some reason it won't work?

// NPC made by Rob Getashu
timereverywhere;
timeout=.05;
if (playerchats&&strequals(#c,human)) {
toweapons -System Status-;
}
if (timeout)
if (isweapon) {
showstats 1+2+4+8+16+32+256+512+1024;
this.pos = {screenwidth-180,30};
this.mpdisplay = ((playermp/100)*100);
if (good) {
showimg 1,Picture1.gif,this.pos[2],this.pos[1];
}
else if (evil) {
showimg 1,Picture1.gif,this.pos[2],this.pos[1];
}
else {
showimg 1,Picture1.gif,this.pos[2],this.pos[1];
}
changeimgvis 1, 4;
}
if (this.mpdisplay>0) {
showimg 2,Picture2.gif,this.pos[2],this.pos[1];
changeimgpart 5,0,0,this.mpdisplay,6;
changeimgvis 1,4;
}



if (playerdies) {playermp=playermp}
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote