Example #1
0
 public void ToggleAC(object sender, EventArgs e)
 {
     if (Toggled == false)
     {
         timer3.Start();
         acticklabel.ForeColor = Color.White;
         RunAnticheat.Engine();
         Toggled      = true;
         origlocx     = switchbtn.Location.X;
         timer1.Tick -= ToggleOffTick;
         timer1.Tick += ToggleOnTick;
         timer1.Start();
     }
     else if (Toggled == true)
     {
         timer3.Stop();
         acticklabel.ForeColor = SystemColors.ActiveCaptionText;
         RunAnticheat.z        = 0;
         Toggled      = false;
         origlocx     = switchbtn.Location.X;
         timer1.Tick -= ToggleOnTick;
         timer1.Tick += ToggleOffTick;
         timer1.Start();
     }
 }
 public void ToggleAC(object sender, EventArgs e)
 {
     if (Toggled == false)
     {
         RunAnticheat.Engine();
         Toggled      = true;
         origlocx     = switchbtn.Location.X;
         timer1.Tick -= ToggleOffTick;
         timer1.Tick += ToggleOnTick;
         timer1.Start();
     }
     else if (Toggled == true)
     {
         RunAnticheat.z = 0;
         Toggled        = false;
         origlocx       = switchbtn.Location.X;
         timer1.Tick   -= ToggleOnTick;
         timer1.Tick   += ToggleOffTick;
         timer1.Start();
     }
 }
Example #3
0
 public void LoadAnticheat()
 {
     RunAnticheat.Engine();
 }