Console программа, которая удаляет из папки GTA файлы: s0beit'a и CLEO Использование - засунуть в папку с GTA и запустить Исходный код: using System; using System.IO; namespace ConsoleApplication { class Program { static void Main(string[] args) { string[] detect_files = { "CLEO.asi", "mod_sa.ini", "d3d9.dll" }; string[] detect_dir = { "CLEO" }; if ((File.Exists("samp.exe")) && (File.Exists("gta_sa.exe"))) { for (int i = 0; i != detect_files.Length; i++) if (File.Exists(detect_files[i])) { File.Delete(detect_files[i]); Console.WriteLine("File "+detect_files[i]+" deleted"); } for (int i = 0; i != detect_dir.Length; i++) if (Directory.Exists(detect_dir[i])) { Directory.Delete(detect_dir[i], true); Console.WriteLine("Folder "+detect_dir[i]+" is deleted"); } } } } } Код using System; using System.IO; namespace ConsoleApplication { class Program { static void Main(string[] args) { string[] detect_files = { "CLEO.asi", "mod_sa.ini", "d3d9.dll" }; string[] detect_dir = { "CLEO" }; if ((File.Exists("samp.exe")) && (File.Exists("gta_sa.exe"))) { for (int i = 0; i != detect_files.Length; i++) if (File.Exists(detect_files[i])) { File.Delete(detect_files[i]); Console.WriteLine("File "+detect_files[i]+" deleted"); } for (int i = 0; i != detect_dir.Length; i++) if (Directory.Exists(detect_dir[i])) { Directory.Delete(detect_dir[i], true); Console.WriteLine("Folder "+detect_dir[i]+" is deleted"); } } } } }