1. hey,

    i need help to get the bodypart as string in OnEntityDeath (last hit)

    Code:
            void OnEntityDeath(BaseCombatEntity entity, HitInfo hitInfo)
            {
                    Puts(hitInfo.boneName);
            }
     
  2. Credit to DeathNotes which was used as a reference

    Code:
           void OnEntityDeath(BaseCombatEntity victim, HitInfo info)
            {
                BasePlayer player = victim as BasePlayer;            if (player == null) return;            Puts($"Bone: {player.skeletonProperties?.FindBone(info.HitBone)?.name?.english ?? "Body"}");
            }