check health
This commit is contained in:
parent
bdbecc758c
commit
b2070dbff2
1 changed files with 4 additions and 0 deletions
4
main.py
4
main.py
|
@ -192,6 +192,10 @@ class Cheat(Hack):
|
||||||
if mem.read_uint(entity + offset["m_iTeamNum"]) == local_team:
|
if mem.read_uint(entity + offset["m_iTeamNum"]) == local_team:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
# Check if ennemy is alive
|
||||||
|
if not mem.read_uint(entity + offset["m_iHealth"]):
|
||||||
|
continue
|
||||||
|
|
||||||
# Space between values
|
# Space between values
|
||||||
i = mem.read_int(
|
i = mem.read_int(
|
||||||
entity + offset["m_iGlowIndex"]) * offset["glow_obj_size"]
|
entity + offset["m_iGlowIndex"]) * offset["glow_obj_size"]
|
||||||
|
|
Reference in a new issue