3 issues with my trap

1. The person who steps on the trap becomes the attacker (criminal) and not the placer
2. The trap doesnt ''consume/delete'' after damaging someone, adding a consume simply made my server crash, I also tried to add BaseDecayingItem but apparently it cant be put on top of ''basetrap''
3. for some reason
if (!m.Player)
damage *= 2; Isn't working (I wanted to make it so the trap was more powerful against monsters..)

Thanks for the help!
 

Attachments

  • NormalExploTrap.cs
    6.3 KB · Views: 3
Back