Update hack.hpp
- Update offsets to latest game build (10/14/23 1:08 AM Mountain Time MDT) - Removed armor as it no longer works - Changed reading health to new update method
This commit is contained in:
@@ -41,13 +41,6 @@ namespace hack {
|
||||
if (!player)
|
||||
continue;
|
||||
|
||||
|
||||
const int playerHealth = process->read<int>(player + updater::offsets::dwPawnHealth);
|
||||
const int playerArmor = process->read<int>(player + updater::offsets::m_iPawnArmor);
|
||||
if (playerHealth <= 0 || playerHealth > 100)
|
||||
continue;
|
||||
|
||||
|
||||
/**
|
||||
* Skip rendering your own character and teammates
|
||||
*
|
||||
@@ -70,6 +63,10 @@ namespace hack {
|
||||
if (!pCSPlayerPawn)
|
||||
continue;
|
||||
|
||||
const int playerHealth = process->read<int>(pCSPlayerPawn + updater::offsets::m_iHealth);
|
||||
if (playerHealth <= 0 || playerHealth > 100)
|
||||
continue;
|
||||
|
||||
if (config::team_esp && (pCSPlayerPawn == localPlayer))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user