Update hack.hpp
- Added "isDefusing" tag
This commit is contained in:
@@ -187,6 +187,8 @@ namespace hack {
|
|||||||
|
|
||||||
if (config::show_extra_flags)
|
if (config::show_extra_flags)
|
||||||
{
|
{
|
||||||
|
const bool isDefusing = process->read<bool>(pCSPlayerPawn + updater::offsets::m_bIsDefusing);
|
||||||
|
|
||||||
render::RenderText(
|
render::RenderText(
|
||||||
g::hdcBuffer,
|
g::hdcBuffer,
|
||||||
screenHead.x + (width / 2 + 5),
|
screenHead.x + (width / 2 + 5),
|
||||||
@@ -204,6 +206,20 @@ namespace hack {
|
|||||||
config::esp_distance_color,
|
config::esp_distance_color,
|
||||||
10
|
10
|
||||||
);
|
);
|
||||||
|
|
||||||
|
std::string defuText = "Player is defusing";
|
||||||
|
|
||||||
|
if (isDefusing)
|
||||||
|
{
|
||||||
|
render::RenderText(
|
||||||
|
g::hdcBuffer,
|
||||||
|
screenHead.x + (width / 2 + 5),
|
||||||
|
screenHead.y + 50,
|
||||||
|
defuText.c_str(),
|
||||||
|
config::esp_distance_color,
|
||||||
|
10
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user