Checking for active AirDrop entity?
hello. I want to check AirDrop [active or not active].
This code always return "True", but its not right.
Thanks for your answers


        bool IsAir()
        {
            foreach (var check in BaseNetworkable.serverEntities)
            {
                if (check is CargoPlane)
                {
                    return true;
                }
            }
            return false;
        }​
You want to check an airdrop but you check whether server has cargo planes. It may have some hidden, who knows. Use a different class: SupplyDrop
In response to misticos ():
You want to check an airdrop but you check whether server has cargo planes. It may have some hidden,...
Can you write example?
In response to misticos ():
You want to check an airdrop but you check whether server has cargo planes. It may have some hidden,...
Yes, i need check is Plane activate