so serverside calling wont work offline right?
what if i used
NPC Code:
// NPC made by Josey Hunt
if (playerchats&&startswith(/hurt,#c)){
triggeraction playerx,playery,hurt,1,1;
}
and in the weapon use
NPC Code:
if (actionhurt){
this.damPower=strtofloat(#p(0));
this.damType=strtofloat(#p(1));
this.finalPower=int(this.damPower+this.damType-this.playArmor);
this.curHP-=this.finalPower;
setcharprop #c,OUCH! #v(this.curHP)/#v(this.maxHP).;
}
but it still doesnt work
;o
someone push me in the right direction