Solved Preventing door pickups

Discussion in 'Rust Development' started by DylanSMR, Feb 19, 2017.

  1. Right. Title explains it fairly well. Wondering if there is a hook to detect when a door is picked up so I can return false and stop it from happening. I've tried to see if OnEntityDeath triggers but it doesn't sadly. Any idea's? :)
     
  2. There's no hook that I know of. But you could set pickup.enabled to false for every Door BaseCombatEntity.
     
  3. Wulf

    Wulf Community Admin