Thread: setshootdamage
View Single Post
  #38  
Old 05-16-2002, 09:52 PM
Neonight Neonight is offline
where da wmdz at
Neonight's Avatar
Join Date: Jun 2001
Location: Windsor, Illinois
Posts: 3,665
Neonight is on a distinguished road
Send a message via AIM to Neonight

Jeff:

*starts timer*

NPC Code:

//Adder
if(playerenters){addweapon thingamajig;}




NPC Code:

//In the database:

//#CLIENTSIDE
if(weaponfired&&playerdarts>0){
playerdarts--;
for(this.i=1;this.i<playerscount;this.i++){
if(((players[this.i].x-playerx)^2)+((players[this.i].y-playery)^2)<100) hitplayer this.i,playerswordpower,playerx,playery;
}
}



A minute or less.

And moreover, using a system NPC you could make that into a triggeraction that hurts the player when they receive it.
Reply With Quote