Пример #1
0
 private void P4_Tick(object sender, EventArgs e)
 {
     byte[] buffer311;
     WriteText("^1-- ^5N^7o ^5H^7ost ^5M^7od ^5M^7enu ^5B^7y ^5M^7rNiato  ^1--\n\n^5Prestige 5\nPrestige 10\nPrestige 15\n^2-->^5Prestige 20\nPrestige 25\nPrestige 30\nPrestige 31");
     if (Key_IsDown.DetectKey(Key_IsDown.Key.Cross))
     {
         numericUpDown1.Value = 20;
         buffer311            = BitConverter.GetBytes(Convert.ToInt32(numericUpDown1.Value));
         PS3.SetMemory(Stats_Entry + 0x0D, buffer311);
     }
     if (Key_IsDown.DetectKey(Key_IsDown.Key.DPAD_DOWN))
     {
         P4.Stop();
         P5.Start();
     }
     if (Key_IsDown.DetectKey(Key_IsDown.Key.DPAD_UP))
     {
         P4.Stop();
         P3.Start();
     }
     if (Key_IsDown.DetectKey(Key_IsDown.Key.R3))
     {
         P4.Stop();
         HostMainMenu.Start();
     }
 }