diff --git a/main.py b/main.py index c228413..ad84a58 100644 --- a/main.py +++ b/main.py @@ -192,6 +192,10 @@ class Cheat(Hack): if mem.read_uint(entity + offset["m_iTeamNum"]) == local_team: continue + # Check if ennemy is alive + if not mem.read_uint(entity + offset["m_iHealth"]): + continue + # Space between values i = mem.read_int( entity + offset["m_iGlowIndex"]) * offset["glow_obj_size"]