ignore dormant
This commit is contained in:
parent
83e7e5ae32
commit
918e0e4774
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ class Trigger(Hack):
|
|||
ennemy = mem.read_uint(
|
||||
client + offset["dwEntityList"] + (crosshair_id - 1) * offset["entity_size"])
|
||||
|
||||
# Ignore dormant
|
||||
if mem.read_bool(ennemy + offset["m_bDormant"]):
|
||||
return
|
||||
|
||||
# Check if ennemy is alive
|
||||
if mem.read_int(ennemy + offset["m_lifeState"]):
|
||||
return
|
||||
|
|
Reference in a new issue