Exemplo n.º 1
0
        public static void uigasvdsajsa()
        {
            string path = "C:\\\\VanityPremium";
            bool   flag = Directory.Exists(path);

            if (!flag)
            {
                Directory.CreateDirectory("C:\\VanityPremium");
            }
            bool flag2 = File.Exists("C:\\VanityPremium\\Enjoy.lua");

            if (!flag2)
            {
                File.Create("C:\\VanityPremium\\Enjoy.lua");
            }
            Console.ForegroundColor = ConsoleColor.DarkMagenta;
            Console.WriteLine("Put your code in C:\\VanityPremium\\Enjoy.lua");
            Console.Write("Type Inject and press enter to inject");
            Console.WriteLine(" WARNING YOU'RE GAME WILL CRASH DO NOT EXECUTE YET!!");
            Console.WriteLine("");
            for (; ;)
            {
                string a     = Console.ReadLine();
                bool   flag3 = a == "Inject";
                if (flag3)
                {
                    Found.Execute();
                }
                bool flag4 = a == "inject";
                if (flag4)
                {
                    Found.Execute();
                }
            }
        }
Exemplo n.º 2
0
 public static void VanityPremium3()
 {
     using (StreamWriter streamWriter = new StreamWriter(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\AppData\\Local\\FiveM\\FiveM.app\\citizen\\scripting\\lua\\Sheduler.lua", true))
     {
         streamWriter.WriteLine("end");
     }
     Found.VanityPremium4();
     Console.ReadLine();
 }
Exemplo n.º 3
0
 public static void VanityPremium()
 {
     using (StreamWriter streamWriter = new StreamWriter(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\AppData\\Local\\FiveM\\FiveM.app\\citizen\\scripting\\lua\\Sheduler.lua", true))
     {
         streamWriter.WriteLine("if GetCurrentResourceName() == \"spawnmanager\" then");
     }
     Found.VanityPremium2();
     Console.ReadLine();
 }
Exemplo n.º 4
0
        public static void VanityPremium2()
        {
            string       text          = "C:\\VanityPremium\\Enjoy.lua";
            StreamReader streamReader  = new StreamReader(text);
            FileInfo     fileInfo      = new FileInfo(text);
            StreamReader streamReader2 = fileInfo.OpenText();
            string       value;

            while ((value = streamReader2.ReadLine()) != null)
            {
                using (StreamWriter streamWriter = new StreamWriter(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile) + "\\AppData\\Local\\FiveM\\FiveM.app\\citizen\\scripting\\lua\\Sheduler.lua", true))
                {
                    streamWriter.WriteLine(value);
                }
            }
            Found.VanityPremium3();
            Console.ReadLine();
        }
Exemplo n.º 5
0
        private static void Main(string[] args)
        {
            Console.Title           = "Vanity Premium FiveM Lua Exec";
            Console.ForegroundColor = ConsoleColor.Blue;
            string processName = "FiveM";
            bool   flag        = Process.GetProcessesByName(processName).Length != 0;

            if (flag)
            {
                Console.WriteLine("Found FiveM");
                Thread.Sleep(3000);
                Console.Clear();
                Found.uigasvdsajsa();
                Console.ReadLine();
            }
            else
            {
                Console.Write("Waiting for FiveM.");
                Thread.Sleep(3000);
            }
            for (; ;)
            {
                string processName2 = "FiveM";
                bool   flag2        = Process.GetProcessesByName(processName2).Length != 0;
                if (flag2)
                {
                    break;
                }
                Console.Write(".");
                Thread.Sleep(1000);
            }
            Console.WriteLine("Found FiveM!");
            Thread.Sleep(3000);
            Console.Clear();
            Found.uigasvdsajsa();
            Console.ReadLine();
            Console.ReadLine();
        }