use lifestate
This commit is contained in:
parent
665680191e
commit
b4ba7db1d0
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ class Bhop(Hack):
|
||||||
return
|
return
|
||||||
|
|
||||||
# Check if player is alive
|
# Check if player is alive
|
||||||
if not mem.read_uint(local_player + offset["m_iHealth"]):
|
if mem.read_uint(local_player + offset["m_lifeState"]):
|
||||||
return
|
return
|
||||||
|
|
||||||
# Check if player on ground
|
# Check if player on ground
|
||||||
|
|
|
@ -24,7 +24,7 @@ class Trigger(Hack):
|
||||||
return
|
return
|
||||||
|
|
||||||
# Check if player is alive
|
# Check if player is alive
|
||||||
if not mem.read_int(local_player + offset["m_iHealth"]):
|
if mem.read_int(local_player + offset["m_lifeState"]):
|
||||||
return
|
return
|
||||||
|
|
||||||
# Get crosshair info about what we aiming at
|
# Get crosshair info about what we aiming at
|
||||||
|
|
Reference in a new issue