Thread: Npcserver stuff
View Single Post
  #6  
Old 09-22-2001, 04:57 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Quote:
Originally posted by grim_squeaker_x
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.
That code won't work. Tried already. I think the problem is the clientside triggeraction is trying to trigger a serverside action. If I am correct, the //#CLIENTSIDE command makes the triggeraction NOT send to the server.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote