I would Really Love It For Somone To Tell Me Why My System isn't working?
it works up untill you change it to the larger format
// NPC made by X.Draco.X
if (isweapon) {
if (this.mode==1) {
showimg 300,healthbar.gif,800,30;
showimg 301,@#v(playermp)/100,855,74;
showimg 303,@#v(playerhearts*100)/#v(playerfullhearts*100),855,42;
showimg 2,@#v(playerhearts*100)/#v(playerfullhearts*100),playerx-1,playery-2;
showimg 302,@#v(playerap),938,130;
showstats 1+256+512+1024;
changeimgvis 300,4;
changeimgvis 301,4;
changeimgvis 302,4;
changeimgvis 303,4;
timeout = .05;
if (keypressed&&strequals(#p(1),o)&&this.mode==1)
this.mode = 2;
timeout = .05;
}
if (this.mode==2) {
showimg 300,healthbar-big2.gif,708,30;
showimg 304,@ XXX,847,120;
showimg 305,@#v(playerrupees),868,187;
showimg 307,@#v(playerbombs),760,89;
showimg 306,@#v(playerdarts),760,54;
showstats 1+256+512+1024;
changeimgvis 300,4;
changeimgvis 301,4;
changeimgvis 302,4;
changeimgvis 303,4;
changeimgvis 304,4;
changeimgvis 305,4;
changeimgvis 306,4;
changeimgvis 307,4;
timeout = .05;
if (keypressed&&strequals(#p(1),o)&&this.mode==2)
this.mode = 1;
timeout = .05;
}
timeout = .05;
}
if (playerenters) {
this.mode =1;
toweapons *system;
showstats 1+2+4+8+16+256+512+1024;
setani human_idle,;
replaceani sword,human_sword;
setplayerprop #8,body106.png;
replaceani walk,human_walk;
replaceani idle,human_idle;
replaceani throw,human_throw;
replaceani push,human_push;
replaceani hurt,human_hurt;
replaceani carry,human_carry;
replaceani carrystill,human_carrystill;
replaceani ride,human_ride;
replaceani pull,human_pull;
replaceani grab,human_grab;
replaceani lift,human_lift;
replaceani sit,human_sit;
replaceani dead,human_dead;
replaceani swim,human_swim;
toweapons *system;
timeout = .05;
} |