public static void DisplayUpdates() { foreach (string s in PluginsDownloadLink.Select(x => x.Item1).Distinct().ToList()) { Game.DisplayNotification("web_lossantospolicedept", "web_lossantospolicedept", "Plug-in Update", s, $"The plug-in {s} has update available."); } }
public static void DisplayUpdates() { string ModsWithErrors = ""; foreach (string s in PluginsDownloadLink.Select(x => x.Item1).Distinct().ToList()) { ModsWithErrors += s + ","; } Popup pop = new Popup("Albo1125.Common Update Check", "Updates are available for the following modifications: " + ModsWithErrors, new List <string>() { "Continue" }, false, false, NextUpdateCallback); pop.Display(); }