1. How to remove a helicopter damage on player constructions?
     
  2. Code:
            private void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo hitInfo)
            {
                if (entity == null || hitInfo == null)
                    return;            if (entity is BuildingBlock && hitInfo.Initiator is BaseHelicopter)
                {
                    hitInfo.damageTypes = new DamageTypeList();
                    hitInfo.DidHit = false;
                    hitInfo.HitEntity = null;
                    hitInfo.Initiator = null;
                    hitInfo.DoHitEffects = false;
                }
            }
    
    Should did the job
     
  3. oh I'm sorry, but I do not know what to do with it, will explain more in detail.
     
  4. Well you can put this code in any of your installed plugin where doesn't already contain the function OnEntityTakeDamage or just adding
    Code:
    if (entity is BuildingBlock && hitInfo.Initiator is BaseHelicopter)
                {
                    hitInfo.damageTypes = new DamageTypeList();
                    hitInfo.DidHit = false;
                    hitInfo.HitEntity = null;
                    hitInfo.Initiator = null;
                    hitInfo.DoHitEffects = false;
                }
    to one of your plugin that contain OnEntityTakeDamage by doing like i provide in my post above