1. Casper ;3

    Casper ;3 Shack Builder

    Is it possible to track the attack of players? And return specific function.
    Not found these hooks in Oxide Docs.
     
  2. D-Kay

    D-Kay Shack Builder Plugin Developer

    Only way to see if a player attacks is with the OnEntityHealthChange hook and then adding a couple of checks to make sure it's a player that deals damage.
     
  3. Casper ;3

    Casper ;3 Shack Builder

    BasePlayer counted as entity?
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    BasePlayer is from Rust, not Reign of Kings which uses just Player.
     
  5. Casper ;3

    Casper ;3 Shack Builder

    Meaning same.