コード例 #1
0
        private static void MainThread()
        {
            if (Modules.IsModuleRunning(Modules.ClientDLLName))
            {
                AimBotController Aim = new AimBotController();
                while (true)
                {
                    if (CLocalPlayer.IsPlaying)
                    {
                        for (int i = 0; i <= EngineClient.MaxPlayer; i++)
                        {
                            int EntBase = CylMem.ReadInt(Modules.ClientDLLAdress + Offsets.signatures.dwEntityList + i * 0x10);
                            if (EntBase == 0)
                            {
                                continue;
                            }
                            if (CEntityPlayer.isDormant(EntBase))
                            {
                                continue;
                            }
                            if (CEntityPlayer.isDead(EntBase))
                            {
                                continue;
                            }
                            if (CEntityPlayer.Team(EntBase) == Teams.NONE || CEntityPlayer.Team(EntBase) == Teams.SPECTATOR)
                            {
                                continue;
                            }
                            if (CEntityPlayer.WeaponName(EntBase) == "NONE")
                            {
                                continue;
                            }
                            Aimbot.ConfigureAimbot(EntBase, Aim);
                            GlowESP.RunGlowESPPanorama(EntBase);
                            Chams.RunChamsPanorama(EntBase);
                            EngineRadar.RunRadarPanorama(EntBase);
                        }
                        BunnyHop.RunBunnyHopPanorama();
                        AutoPistol.RunAutoPistolPanorama();
                        Triggerbot.RunTriggerBotPanorama();
                        NoFlash.RunNoFlashPanorama();
                        NoHands.RunNoHandsPanorama();
                        DamageIndicator.RunDamageIndicatorPanorama();
                        RemoveScope.RunRemoveScopePanorama();
                        ViewModelFOV.RunViewModelFOV();
                        RecoilControlSystem.RunRCSPanorama();
                        GrenadeTrajectory.RunGPRJPanorama();
                        NoSmoke.RunNoSmokePanorama();
                        Aimbot.RunAimbotPanorama(Aim);

                        #region Performance Settings
                        if (CheatPerf == PerformanceTimes.VHIGH)
                        {
                        }
                        else
                        {
                            Thread.Sleep((int)CheatPerf);
                        }
                        #endregion
                    }
                }
            }
        }