Closed ImInTheICU closed 10 months ago
class Offsets: CS2Offsets = requests.get("https://raw.githubusercontent.com/a2x/cs2-dumper/main/generated/client.dll.json").json() dwEntityList = None dwViewMatrix = None dwLocalPlayerController = None m_iPawnHealth = int(CS2Offsets['CCSPlayerController']['data']['m_iPawnHealth']['value']) m_hPlayerPawn = int(CS2Offsets['CCSPlayerController']['data']['m_hPlayerPawn']['value']) m_iszPlayerName = int(CS2Offsets['CBasePlayerController']['data']['m_iszPlayerName']['value']) m_iTeamNum = int(CS2Offsets['C_BaseEntity']['data']['m_iTeamNum']['value']) m_vOldOrigin = int(CS2Offsets['C_BasePlayerPawn']['data']['m_vOldOrigin']['value']) m_pGameSceneNode = int(CS2Offsets['C_BaseEntity']['data']['m_pGameSceneNode']['value']) m_bPawnIsAlive = int(CS2Offsets['CCSPlayerController']['data']['m_bPawnIsAlive']['value']) m_pBoneArray = 480
m_bPawnIsAlive
@property def isalive(self): return pm.r_bool(self.proc, self.ptr + Offsets.m_bPawnIsAlive)
I'll create a PR
Disabling this fixed the overlay FPS drop.
Author
in my tests, it does the opposite and lags my overlay effects are different on every machine, I suppose
health bar is also possible
m_bPawnIsAlive
to check if their alive.