diff --git a/memory-external/hacks/hack.hpp b/memory-external/hacks/hack.hpp index 3abbe25..e9c1005 100644 --- a/memory-external/hacks/hack.hpp +++ b/memory-external/hacks/hack.hpp @@ -39,6 +39,7 @@ namespace hack { } const int playerHealth = process->read(player + updater::offsets::dwPawnHealth); + const int playerArmor = process->read(player + updater::offsets::m_iPawnArmor); if (playerHealth <= 0 || playerHealth > 100) { playerIndex++; continue; @@ -185,6 +186,19 @@ namespace hack { ), 10 ); + + render::RenderText( + g::hdcBuffer, + screenHead.x + (width / 2 + 5), + screenHead.y + 22, + (std::to_string(playerArmor) + "armor").c_str(), + RGB( + (255 - playerArmor), + (55 + playerArmor * 2), + 75 + ), + 10 + ); } playerIndex++; }