NoFlash not working

Posts 1–3 of 3 · Page 1 of 1
NoFlash not working
void NoFlash() {

float MaxFlash = Memory.Read<float>(LocalBase + m_flFlashMaxAlpha);

if (flashOn and MaxFlash > 0.f) {
Memory.Write<float>(LocalBase + m_flFlashMaxAlpha, 0.f);
}
if (!flassOn and MaxFlash != 225.f) {
Memory.Write<float>(LocalBase + m_flFlashMaxAlpha, 225.f);
}
}
This may be due to the offsets I used. However, I used two different dumpers and got two different offset results. If anyone can supply me with the working offset, it would be greatly appreciated
Code:
 void noflash()
{
	while (true)
	{
		if (NoFlash && Data.GetFlash() > 0)
		{
			user.cmd <float> (Data.GetBase() + dwFlash, 0);
		}
		Sleep(1);
	}
}
use m_flFlashDuration, not maxalpha
1 week has passed and no further replies have been made by the OP. Assuming solved.

/Closed.
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us