Fix isFlashed
- Fix the way isFlashed works
This commit is contained in:
@@ -267,11 +267,9 @@ namespace hack {
|
|||||||
);
|
);
|
||||||
|
|
||||||
float flashDuration = process->read<float>(pCSPlayerPawn + updater::offsets::m_flFlashDuration);
|
float flashDuration = process->read<float>(pCSPlayerPawn + updater::offsets::m_flFlashDuration);
|
||||||
bool isFlashed;
|
if (flashDuration > 0.1)
|
||||||
if (flashDuration > 0.0)
|
|
||||||
isFlashed = true;
|
|
||||||
if (isFlashed)
|
|
||||||
{
|
{
|
||||||
|
std::cout << std::to_string(flashDuration) << std::endl;
|
||||||
render::RenderText(
|
render::RenderText(
|
||||||
g::hdcBuffer,
|
g::hdcBuffer,
|
||||||
screenHead.x + (width / 2 + 5),
|
screenHead.x + (width / 2 + 5),
|
||||||
|
|||||||
Reference in New Issue
Block a user