You have a small error in the plugin, the hook does not work when killing NPCs
OnKillNPC(BasePlayer npc, BasePlayer player)
Interface.Oxide.CallHook("OnKillNPC", entity.GetComponent<BasePlayer>(), hitinfo);
Need to do like this:
Interface.Oxide.CallHook("OnKillNPC", entity.GetComponent<BasePlayer>(), player);
OnKillNPC(BasePlayer npc, BasePlayer player)
Interface.Oxide.CallHook("OnKillNPC", entity.GetComponent<BasePlayer>(), hitinfo);
Need to do like this:
Interface.Oxide.CallHook("OnKillNPC", entity.GetComponent<BasePlayer>(), player);
