Example #1
0
 public static void RunBunnyHopPanorama()
 {
     if (CheatStatus.BunnyActive)
     {
         if (Methods.HoldingKey(Keys.Space))
         {
             if (MiscConfig.SelectedBhopType == BunnyType.STRAFE)
             {
                 Vector3 PrevAngles = new Vector3();
                 if (CLocalPlayer.Flag != FlagState.ONGROUND)
                 {
                     if (CLocalPlayer.ViewAngles.Y > PrevAngles.Y)
                     {
                         CLocalPlayer.GoLeft();
                     }
                     else if (CLocalPlayer.ViewAngles.Y < PrevAngles.Y)
                     {
                         CLocalPlayer.GoRight();
                     }
                     PrevAngles = CLocalPlayer.ViewAngles;
                 }
             }
             if ((CLocalPlayer.Flag == FlagState.ONGROUND || CLocalPlayer.Flag == FlagState.CROUCHING))
             {
                 CLocalPlayer.Jump();
             }
         }
     }
 }
Example #2
0
 public static void RunNoFlashPanorama()
 {
     if (CheatStatus.FlashActive)
     {
         CLocalPlayer.RemoveFlash();
     }
     else if (!CheatStatus.FlashActive)
     {
         CLocalPlayer.AddFlash();
     }
 }
 public static void RunNoHandsPanorama()
 {
     if (CheatStatus.NoHandsActive)
     {
         CLocalPlayer.RemoveHands();
     }
     if (!CheatStatus.NoHandsActive)
     {
         CLocalPlayer.AddHands();
     }
 }
 public static void RunAutoPistolPanorama()
 {
     if (CheatStatus.AutoPistolActive)
     {
         if (Methods.HoldingKey(Keys.LButton))
         {
             if (CLocalPlayer.IsPistolWeapon)
             {
                 CLocalPlayer.ShootWithPointer(15);
             }
         }
     }
 }
 public void Inject_FormClosing(object sender, FormClosingEventArgs e)
 {
     aimbotButton.Enabled         = false;
     autoPistolButton.Enabled     = false;
     bombTrajectButton.Enabled    = false;
     bunnyButton.Enabled          = false;
     chamsButton.Enabled          = false;
     dIndicatorButton.Enabled     = false;
     flashButton.Enabled          = false;
     glowButton.Enabled           = false;
     noHandsButton.Enabled        = false;
     NoSmokeButton.Enabled        = false;
     radarButton.Enabled          = false;
     rcsButton.Enabled            = false;
     removeScopeButton.Enabled    = false;
     triggerButton.Enabled        = false;
     MiscConfig.ViewModelFOVValue = 90;
     Methods.Wait(1500);
     CLocalPlayer.SetClantag(string.Empty, string.Empty);
     Environment.Exit(0);
 }
 public static void RunTriggerBotPanorama()
 {
     if (CheatStatus.TriggerActive)
     {
         if (AssistsConfig.TriggerKey == KeysList.NOKEYS || (AssistsConfig.TriggerKey != KeysList.NOKEYS && Methods.HoldingKey(Parsers.KeyListToRealKey(AssistsConfig.TriggerKey))))
         {
             if (CLocalPlayer.IsCloseRangeWeapon)
             {
                 return;
             }
             if (CLocalPlayer.IsThrowableWeapon)
             {
                 return;
             }
             else
             {
                 int CrossEntity;
                 if (CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + (CLocalPlayer.CrossID - 1) * 0x10) == -1)
                 {
                     CrossEntity = 0;
                 }
                 else
                 {
                     CrossEntity = CylMem.ReadInt(Modules.ClientDLLAdress + dwEntityList + (CLocalPlayer.CrossID - 1) * 0x10);
                 }
                 if (CrossEntity == 0)
                 {
                     return;
                 }
                 if (CEntityPlayer.isDormant(CrossEntity))
                 {
                     return;
                 }
                 if (CEntityPlayer.isDead(CrossEntity))
                 {
                     return;
                 }
                 if (CEntityPlayer.Team(CrossEntity) == Teams.NONE || CEntityPlayer.Team(CrossEntity) == Teams.SPECTATOR)
                 {
                     return;
                 }
                 if (CEntityPlayer.WeaponName(CrossEntity) == "NONE")
                 {
                     return;
                 }
                 if (AssistsConfig.isNoScope)
                 {
                     if (CLocalPlayer.CrossID > 0 && CLocalPlayer.CrossID <= EngineClient.MaxPlayer && ((CEntityPlayer.Team(CrossEntity) == CLocalPlayer.Team && AssistsConfig.isFriendlyFire) || (CEntityPlayer.Team(CrossEntity) != CLocalPlayer.Team)))
                     {
                         if (CEntityPlayer.isAlive(CrossEntity) && CLocalPlayer.CrossID >= 0)
                         {
                             for (int i = 0; i < 2; i++)
                             {
                                 if (CLocalPlayer.IsPistolWeapon)
                                 {
                                     CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                     continue;
                                 }
                                 else if (AssistsConfig.isSprayRandom)
                                 {
                                     CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                 }
                                 else
                                 {
                                     CLocalPlayer.ShootWithPointer(WeaponSettings.TriggerSprayTime);
                                 }
                             }
                         }
                     }
                 }
                 else if (!CLocalPlayer.Scoped)
                 {
                     if (CLocalPlayer.IsScopedWeapon)
                     {
                         return;
                     }
                     else
                     {
                         if (CLocalPlayer.CrossID > 0 && CLocalPlayer.CrossID <= EngineClient.MaxPlayer && ((CEntityPlayer.Team(CrossEntity) == CLocalPlayer.Team && AssistsConfig.isFriendlyFire) || (CEntityPlayer.Team(CrossEntity) != CLocalPlayer.Team)))
                         {
                             if ((CEntityPlayer.Team(CrossEntity) != CLocalPlayer.Team) && CEntityPlayer.isAlive(CrossEntity) && CLocalPlayer.CrossID >= 0)
                             {
                                 for (int i = 0; i < 2; i++)
                                 {
                                     if (CLocalPlayer.IsPistolWeapon)
                                     {
                                         CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                         continue;
                                     }
                                     else if (AssistsConfig.isSprayRandom)
                                     {
                                         CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                     }
                                     else
                                     {
                                         CLocalPlayer.ShootWithPointer(WeaponSettings.TriggerSprayTime);
                                     }
                                 }
                             }
                         }
                     }
                 }
                 else
                 {
                     if (CLocalPlayer.CrossID > 0 && CLocalPlayer.CrossID <= EngineClient.MaxPlayer)
                     {
                         if (CLocalPlayer.CrossID > 0 && CLocalPlayer.CrossID <= EngineClient.MaxPlayer && ((CEntityPlayer.Team(CrossEntity) == CLocalPlayer.Team && AssistsConfig.isFriendlyFire) || (CEntityPlayer.Team(CrossEntity) != CLocalPlayer.Team)))
                         {
                             for (int i = 0; i < 2; i++)
                             {
                                 if (CLocalPlayer.IsPistolWeapon)
                                 {
                                     CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                     continue;
                                 }
                                 else if (AssistsConfig.isSprayRandom)
                                 {
                                     CLocalPlayer.ShootWithPointer(new Random().Next(7, 20));
                                 }
                                 else
                                 {
                                     CLocalPlayer.ShootWithPointer(WeaponSettings.TriggerSprayTime);
                                 }
                             }
                         }
                     }
                 }
             }
         }
     }
 }
 public static void ChangeClanTag(string Tag)
 {
     CLocalPlayer.SetClantag(Tag, Tag);
 }
Example #8
0
 private void ShootBtn_Click(object sender, EventArgs e)
 {
     CLocalPlayer.Shoot(10);
 }