Solved VB - GlowESP showing Enemy/Team at same time...

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat
Status
Not open for further replies.

realstyla

Newbie
Full Member
Jul 8, 2014
5
122
0
So i got this little project in VB..

Everything works so far..i'm just a little bit confused...
When i check "TeamGlow" ... why is the EnemyGlow AND TeamGlow enabled at the same time. If i check "EnemyGlow" only.. it shows only the enemy not both.. so there must be a mistake

C#:
         If menu.GlowEnemy.Checked Or menu.GlowTeam.Checked Then
                For i As Integer = 1 To 64
                    Dim pLocalPlayer = Mem.ReadInt(bClient + Offsets.oLocalPlayer, 4)
                    Dim pCurPlayer = Mem.ReadInt(bClient + Offsets.oEntityList + ((i - 1) * 16), 4)
                    Dim pCurPlayerDormant = Mem.ReadBool(pCurPlayer + Offsets.oDormant, 4)

                    If Not (pCurPlayerDormant) Then
                        Dim pCurPlayerGlowIndex = Mem.ReadInt(pCurPlayer + Offsets.oGlowIndex, 4)
                        Dim pCurPlayerTeam = Mem.ReadInt(pCurPlayer + Offsets.oTeam, 4)
                        Dim pLocalPlayerTeam = Mem.ReadInt(pLocalPlayer + Offsets.oTeam, 4)

                        If (pCurPlayerTeam = pLocalPlayerTeam) Then
                            If menu.GlowTeam.Checked Then
                                If menu.TeamRainbow.Checked Then
                                    DrawGlow(pCurPlayerGlowIndex, GlowRainbow)
                                Else
                                    DrawGlow(pCurPlayerGlowIndex, GlowTeam) 
                                End If
                            End If
                        Else
                            If menu.EnemyRainbow.Checked Then
                                DrawGlow(pCurPlayerGlowIndex, GlowRainbow)
                            Else
                                DrawGlow(pCurPlayerGlowIndex, GlowEnemy)
                            End If
                        End If
                    End If
                Next
            End If
 
Status
Not open for further replies.
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods