Quote:
Originally posted by nyghtGT
ok, this script does a lot of f***** up thing...
one thing:
NPC Code:
NPC Code:
if (playerhearts > 3 || playerhearts == 3 && this.l33t = 0){playerhearts = 3; this.l33t = this.l33t + 1;
}
should be:
if ((playerhearts>3||playerhearts==3)&&this.l33t=0) {
playerhearts=3;
this.l33t+=1;
}
|
a more effective way:
NPC Code:
if (playerhearts=>3&& this.l33t = 0) {
playerhearts = 3;
this.l33t+=1;
}