Привет, ребята, извиняюсь за это.
совершенно новичок в программировании, и я и еще один парень решили сделать меню для игры.
я сделал это до сих пор
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace menu
{
class Program
{
static void Main(string[] args) //this is how u make a simple console menu /:
{
Console.Title = "Meme Engine V1";
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine(@"________________________________________________________________________________");
Console.WriteLine(@" __ __ ______ _ __ ____ |");
Console.WriteLine(@" | / | | ____| (_) / /_ | |");
Console.WriteLine(@" | / | ___ _ __ ___ ___ | |__ _ __ __ _ _ _ __ ___ / / | | |");
Console.WriteLine(@" | |/| |/ _ '_ ` _ / _ | __| | '_ / _` | | '_ / _ / / | | |");
Console.WriteLine(@" | | | | __/ | | | | | __/ | |____| | | | (_| | | | | | __/ / | | |");
Console.WriteLine(@" |_| |_|___|_| |_| |_|___| |______|_| |_|__, |_|_| |_|___| / |_| |");
Console.WriteLine(@" __/ | |");
Console.WriteLine(@" |___/ |");
Console.WriteLine(@"________________________________________________________________________________|");
Console.WriteLine("");
Console.WriteLine("");
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine("Made By MONKE#8829 & Illusion#9999");
Console.WriteLine("");
Console.WriteLine("[1] Injection Options!");
Console.WriteLine("[2] Exit");
string input = Console.ReadLine();
if (input == "1")
{
mainmenu();
}
else if (input == "2")
{
Console.WriteLine("Closing launcher....");
Thread.Sleep(1000);
Environment.Exit(0);
}
}
public static void mainmenu()
{
Console.Clear();
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine(@"________________________________________________________________________________");
Console.WriteLine(@" __ __ ______ _ __ ____ |");
Console.WriteLine(@" | / | | ____| (_) / /_ | |");
Console.WriteLine(@" | / | ___ _ __ ___ ___ | |__ _ __ __ _ _ _ __ ___ / / | | |");
Console.WriteLine(@" | |/| |/ _ '_ ` _ / _ | __| | '_ / _` | | '_ / _ / / | | |");
Console.WriteLine(@" | | | | __/ | | | | | __/ | |____| | | | (_| | | | | | __/ / | | |");
Console.WriteLine(@" |_| |_|___|_| |_| |_|___| |______|_| |_|__, |_|_| |_|___| / |_| |");
Console.WriteLine(@" __/ | |");
Console.WriteLine(@" |___/ |");
Console.WriteLine(@"________________________________________________________________________________| ");
Console.WriteLine(" ");
Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine("Press Enter To Inject!");
string input = Console.ReadLine();
if (input == "1")
{
mainmenu();
}
}
public static void settings()
{
Console.Clear();
Console.WriteLine(" ");
Console.WriteLine("Close console");
Console.ReadLine();
}
}
}
Я хочу сделать так, чтобы когда пользователь выбирал первый вариант. он переносит их в параметры впрыска.
где id нравится, когда человек нажимает клавишу ВВОД, чтобы ввести указанную dll в указанную игру. или вернитесь в главное меню.
но я не знаю, как это сделать.
если кто-нибудь может помочь id оценить!