Пример #1
0
        public static void RunGlowESPPanorama(int EntBase)
        {
            int GlowIndex = CylMem.ReadInt(EntBase + m_iGlowIndex);

            if (CEntityPlayer.Team(EntBase) == Teams.TERRORIST && CheatStatus.WallActive && CEntityPlayer.isAlive(EntBase) && ((CLocalPlayer.Team != CEntityPlayer.Team(EntBase) && VisualConfig.glowEnemyTeam) || (CLocalPlayer.Team == CEntityPlayer.Team(EntBase) && VisualConfig.glowLocalTeam))) //T
            {
                if (VisualConfig.selectedGlowColor == VisualColor.ENGINE)
                {
                    CEntityPlayer.Glow(GlowIndex, VisualConfig.GlowEngineTerrorist, VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
                else if (VisualConfig.selectedGlowColor == VisualColor.REDBLUE)
                {
                    CEntityPlayer.Glow(GlowIndex, VisualConfig.GlowRed, VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
                else if (VisualConfig.selectedGlowColor == VisualColor.HEALTH)
                {
                    CEntityPlayer.Glow(GlowIndex, Parsers.ParseEnemyGlowHealth(CEntityPlayer.Health(EntBase)), VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
            }
            if (CEntityPlayer.Team(EntBase) == Teams.ANTI_TERRORIST && CheatStatus.WallActive && CEntityPlayer.isAlive(EntBase) && ((CLocalPlayer.Team != CEntityPlayer.Team(EntBase) && VisualConfig.glowEnemyTeam) || (CLocalPlayer.Team == CEntityPlayer.Team(EntBase) && VisualConfig.glowLocalTeam))) //AT
            {
                if (VisualConfig.selectedGlowColor == VisualColor.ENGINE)
                {
                    CEntityPlayer.Glow(GlowIndex, VisualConfig.GlowEngineATerrorist, VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
                else if (VisualConfig.selectedGlowColor == VisualColor.REDBLUE)
                {
                    CEntityPlayer.Glow(GlowIndex, VisualConfig.GlowBlue, VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
                else if (VisualConfig.selectedGlowColor == VisualColor.HEALTH)
                {
                    CEntityPlayer.Glow(GlowIndex, Parsers.ParseEnemyGlowHealth(CEntityPlayer.Health(EntBase)), VisualConfig.selectedGlowStyle, VisualConfig.selectedGlowType);
                }
            }
        }
Пример #2
0
        public static void RunGlowESPLegit(int EntBase, bool Active, GlowStruct TColor, GlowStruct ATColor)
        {
            int GlowIndex = CylMem.ReadInt(EntBase + m_iGlowIndex);

            if (Active)
            {
                if (CLocalPlayer.isDead)
                {
                    if (CLocalPlayer.Team != CEntityPlayer.Team(EntBase))
                    {
                        if (CEntityPlayer.Team(EntBase) == Teams.TERRORIST && CEntityPlayer.isAlive(EntBase)) //T
                        {
                            CEntityPlayer.Glow(GlowIndex, TColor, GlowStyle.NORMAL, GlowType.NORMAL);
                        }
                        if (CEntityPlayer.Team(EntBase) == Teams.ANTI_TERRORIST && CEntityPlayer.isAlive(EntBase)) //AT
                        {
                            CEntityPlayer.Glow(GlowIndex, ATColor, GlowStyle.NORMAL, GlowType.NORMAL);
                        }
                    }
                }
            }
        }
Пример #3
0
        public static void RunChamsLegit(int EntBase, bool Active, bool dEspActive)
        {
            int GlowIndex = CylMem.ReadInt(EntBase + m_iGlowIndex);

            if (Active)
            {
                if (CLocalPlayer.Team != CEntityPlayer.Team(EntBase))
                {
                    if (CLocalPlayer.isAlive || !dEspActive)
                    {
                        CEntityPlayer.Glow(GlowIndex, Parsers.ParseEnemyGlowHealth(CEntityPlayer.Health(EntBase)), GlowStyle.NORMAL, GlowType.FROZEN);
                    }
                    CEntityPlayer.ApplyChams(Parsers.ParseEnemyChamsHealth(CEntityPlayer.Health(EntBase)), 90, EntBase);
                }
            }
            else if (!Active)
            {
                if (CLocalPlayer.Team != CEntityPlayer.Team(EntBase))
                {
                    CEntityPlayer.ClearChams(EntBase);
                }
            }
        }
Пример #4
0
 public static void RunGlowESPOWALL(GlowStruct red, GlowStruct blue, bool Active)
 {
     for (int i = 0; i <= EngineClient.MaxPlayer; i++)
     {
         int EntBase = CylMem.ReadInt(Modules.ClientDLLAdress + 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;
         }
         int GlowIndex = CylMem.ReadInt(EntBase + m_iGlowIndex);
         if (CEntityPlayer.Team(EntBase) == Teams.TERRORIST && Active && CEntityPlayer.isAlive(EntBase)) //T
         {
             CEntityPlayer.Glow(GlowIndex, red, GlowStyle.NORMAL, GlowType.NORMAL);
         }
         if (CEntityPlayer.Team(EntBase) == Teams.ANTI_TERRORIST && Active && CEntityPlayer.isAlive(EntBase)) //AT
         {
             CEntityPlayer.Glow(GlowIndex, blue, GlowStyle.NORMAL, GlowType.NORMAL);
         }
     }
 }