private void Delay_BeforeShoot_Tick(object sender, EventArgs e) { if (comboBox1.Text == "SOILDER76") { Rifleshoot(); } SendKeys.Send(comboBox2.Text.ToLower()); Delay_BeforeShoot.Stop(); }
public void Fire() { if (widow == true) { delay_aftherShoot_OFF.Interval = 1200; if (hanzo == true) { delay_aftherShoot_OFF.Interval = 2000; } delay_aftherShoot_ON.Start(); } if (Shoot_delay.Value == 1) { if (comboBox1.Text == "SOILDER76") { Rifleshoot(); } SendKeys.Send(comboBox2.Text.ToLower()); } else { Delay_BeforeShoot.Start(); } }