public void aaSetConeOfSilence(LSL_Float radius) { ScriptProtection.CheckThreatLevel(ThreatLevel.Low, "AASetConeOfSilence", m_host, "AA"); if (World.Permissions.IsAdministrator(m_host.OwnerID)) { m_host.SetConeOfSilence(radius.value); } }
public void aaSetConeOfSilence(LSL_Float radius) { if (!ScriptProtection.CheckThreatLevel(ThreatLevel.Low, "AASetConeOfSilence", m_host, "AA", m_itemID)) { return; } if (World.Permissions.IsGod(m_host.OwnerID)) { m_host.SetConeOfSilence(radius.value); } }