1. Im trying to detect if the Projectile of the HitInfo from OnPlayerAttack is a thrown weapon, or not...

    kinda stuck..


    Code:
      void OnPlayerAttack(BasePlayer attacker, HitInfo hitInfo)
            {            var project = hitInfo?.Weapon?.GetItem()?.GetHeldEntity() as BaseProjectile ;
                var Mag = project.primaryMagazine ?? null;
                if (Mag == null) return;...... 
     
  2. BaseProjectile is of Type AttackEntity, which is a type of HeldEntity.

    Therefore you could check the "info.Weapon", which is already AttackEntity, being a ThrownWeapon
     
  3. May not be all you need, but HitInfo has HitInfo.IsProjectile().
     
  4. already got it thanks :D

    tested it. and somehow- this was already enough

    Code:
    AttackEntity Thrown = attacker.GetHeldEntity() as AttackEntity ;   
                if (!Thrown) return;