External NoFlash
Simple Cpp no flash
bool enabled = false;
- - - Updated - - -
ps. add a sleep timer (not larger than 20 otherwise it won't pick up the flashbang)
bool enabled = false;
Code:
DWORD localplayer = ReadMemory<DWORD>(client + m_dwLocalPlayer);
if (enabled)
{
if (ReadMemory<float>(localplayer + m_flFlashMaxAlpha) > 0.0f)
{
WriteMemory<float>(localplayer + m_flFlashMaxAlpha, 0.0f);
}
}
else if (ReadMemory<float>(localplayer + m_flFlashMaxAlpha) == 0.0f)
{
WriteMemory<float>(localplayer + m_flFlashMaxAlpha, 1.0f);
}
ps. add a sleep timer (not larger than 20 otherwise it won't pick up the flashbang)