1. Looked through API and don't see any obvious way
     
  2. Wulf

    Wulf Community Admin

    There aren't any hooks that are triggered when a player is healed right now that I know of. The best you could do is check after X amount of time to see if the health changed until a hook is added.
     
  3. Wulf what about this

    Code:
    public override void OnHealthChanged(float oldvalue, float newvalue)
        {
            base.OnHealthChanged(oldvalue, newvalue);
            this.metabolism.isDirty = true;
        }
    
    under BasePlayer in Assembly-CSharp, if you hooked that do you think it'd give the desired result?
     
  4. Wulf

    Wulf Community Admin

    I actually have that locally, just never finished it as I haven't settled on a name.
     
  5. Well can you please consider adding for next patch, I need it for an important plugin, I want to do really in-depth stats, like death notes but also shows assists and their damage contribution, along with damage, and healing stats in general. It'd be a lot easier to keep track of that when I know when a user heals full so that I can reset enemy damage.
     
  6. Wulf

    Wulf Community Admin

    It's actually already in there, just missed it in the change log.
     
  7. Oh great, i'll give it a try right now, thanks!
    [DOUBLEPOST=1475727282][/DOUBLEPOST]
    what would the callback name and params be?
     
  8. Nevermind I see it here

    [Rust] Added OnPlayerHealthChange(BasePlayer player, float oldValue, float newValue)"

    I need to remember to check the release notes from now on