Simple Cpp no flash
bool enabled = false;
- - - Updated - - -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)
Last edited by gspartn; 03-22-2020 at 07:39 PM.