PDA

View Full Version : Weapon deletion


Psyker
03-23-2001, 08:19 AM
How do you script an "if (playerenters)" NPC to automatically detect and delete a specific weapon?

Brady2
03-23-2001, 08:39 AM
if (playerenters) {toweapons weaponname;timeout=.05}
if (timeout && isweapon) {delete}

Psyker
03-23-2001, 09:32 AM
Thanks, Brady!

Tyhm
03-23-2001, 11:28 AM
I'd take out the timeout...it breaks online, and works fine without.