Improve isFlashed flag
- Improvement upon the player is flashed flag by using the FlashOverlayAlpha to check if their vision is still blocked or not (provides a more consistent notice of if the player is flashed)
This commit is contained in:
@@ -271,8 +271,8 @@ namespace hack {
|
||||
10
|
||||
);
|
||||
|
||||
float flashDuration = process->read<float>(pCSPlayerPawn + updater::offsets::m_flFlashDuration);
|
||||
if (flashDuration > 0.1)
|
||||
float flashAlpha = process->read<float>(pCSPlayerPawn + updater::offsets::m_flFlashOverlayAlpha);
|
||||
if (flashAlpha > 100)
|
||||
{
|
||||
render::RenderText(
|
||||
g::hdcBuffer,
|
||||
|
||||
Reference in New Issue
Block a user