View Single Post
  #12  
Old 03-01-2002, 06:01 AM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
Quote:
Originally posted by zell12
well, I added a update, and im trying to get rid of the old weapon when they walk into a certian level
Ok then a simple thing would be...

in the weapon first of all...
NPC Code:

if (hasweapon(test)){
if (server.destroyweapon==1){server.destroy=0;
destroy;}
timeout=0.05;}


and the npc in a level
NPC Code:

if (playerenters && hasweapon(test)){
server.destroy=1;}


there are loads of other ways in which you can do this but that is the simpliest way of doing it i beleive
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote