public static void RemoveTypesFromHud(bool any, params string[] type) { foreach (UIElement element in BaseMenu.GetElementsByType(any, type)) { BaseHud.Remove(element); } }