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