use lifestate

This commit is contained in:
Mylloon 2023-03-31 19:22:19 +02:00
parent 665680191e
commit b4ba7db1d0
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 2 deletions

View file

@ -24,7 +24,7 @@ class Bhop(Hack):
return
# 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
# Check if player on ground

View file

@ -24,7 +24,7 @@ class Trigger(Hack):
return
# 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
# Get crosshair info about what we aiming at