View Single Post
  #1  
Old 08-30-2001, 04:09 AM
Death_Sythe Death_Sythe is offline
Registered User
Join Date: Aug 2001
Location: PA:USA
Posts: 81
Death_Sythe is on a distinguished road
Prevent Hurting Continued....

The person who made up the first script is alittle buggy, you dont set this. scripts that is soemthing that is auto set when you use this.on=0 and this.on=1. So here is the non buggy system for it.

// NPC made by Trunks
if (playertouchsme) {toweapons Invincable;
}
if (weaponfired&&!this.on=1) {
this.on=1;
setplayerprop #c,On.;
}
else
if (weaponfired&&this.on=1) {
this.on=0;
setplayerprop #c,Off.;
}
while (this.on=1) {
if (playerhearts<playerfullhearts) {
playerhearts=playerfullhearts;
}
}

So that is the perfect system for it
__________________
Trunks
Manatra2001 Owner
GP Asst. Chief on Sanstrata
Reply With Quote