View Single Post
  #1  
Old 04-07-2002, 10:20 PM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
Sword disabling...

I am trying to make a script that wil totally
disable the players sword, but still allow
the use of their other weapons.

NPC Code:

// NPC made by Prozac
if (playerenters) {timereverywhere; timeout=.05;}
if (timeout) {
if (keydown(5))
{disabledefmovement;
setplayerprop #c,sword disabled!;
sleep 1;
enabledefmovement}
timeout=.05;
}



That makes the player not able to see their sword,
but if you are up next to a bush it still
cuts the bush down.

Any idea how to turn just the sword completely off?
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote