Thread: Npcserver stuff
View Single Post
  #5  
Old 09-21-2001, 11:29 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
NPC Code:
if (actionwashit) hearts-=strtofloat(#P(0));
//#CLIENTSIDE
if (washit) triggeraction x+1.5,y+2,washit,#v(playerswordpower);

As for the other thing, just make an option at the start of your server in which it is asked if the player can see both seteffect and setcoloreffect.
__________________

Reply With Quote