Aurora.ScriptEngine.AuroraDotNetEngine.APIs.LSL_Api.llRemoveVehicleFlags C# (CSharp) Method

llRemoveVehicleFlags() public method

public llRemoveVehicleFlags ( int flags ) : void
flags int
return void
        public void llRemoveVehicleFlags(int flags)
        {
            if (!ScriptProtection.CheckThreatLevel(ThreatLevel.None, "LSL", m_host, "LSL", m_itemID)) return;

            if (m_host.ParentEntity != null)
            {
                if (!m_host.ParentEntity.IsDeleted)
                {
                    m_host.ParentEntity.RootChild.SetVehicleFlags(flags, true);
                }
            }
        }
LSL_Api