Пример #1
0
 private void P5_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\nPrestige 20\n^2-->^5Prestige 25\nPrestige 30\nPrestige 31");
     if (Key_IsDown.DetectKey(Key_IsDown.Key.Cross))
     {
         numericUpDown1.Value = 25;
         buffer311            = BitConverter.GetBytes(Convert.ToInt32(numericUpDown1.Value));
         PS3.SetMemory(Stats_Entry + 0x0D, buffer311);
     }
     if (Key_IsDown.DetectKey(Key_IsDown.Key.DPAD_DOWN))
     {
         P5.Stop();
         P6.Start();
     }
     if (Key_IsDown.DetectKey(Key_IsDown.Key.DPAD_UP))
     {
         P5.Stop();
         P4.Start();
     }
     if (Key_IsDown.DetectKey(Key_IsDown.Key.R3))
     {
         P5.Stop();
         HostMainMenu.Start();
     }
 }