No Flash wont disable

PollAm i retarded and this is very simple?
Yes 50% · 1
No50% · 1
2 votes · poll closed
Posts 1–2 of 2 · Page 1 of 1
No Flash wont disable
Hello i made a C# hack called Fallen, You may have seen it under releases, However i have an issue, If i disable no flash i cant disable it.


``c
//TriggerP1
if (wParam == (IntPtr)WM_KEYDOWN && vkCode == 0x73)
{
NoFlash = !NoFlash;
}
On off hook ^^

while (true)
{
if (NoFlash)
{
MainClass.Memory.WrtFloat(LocalPlayer.Base + Offsets.m_flFlashMaxAlpha, 0f);
Thread.Sleep(5);
}

My no flash :/

Could someone please tell me why this wont turn off once on?

- - - Updated - - -

/Solved

I made another function called Flash on and bound it to the same key, I set it to run as on from the start and pressing F3 now turns it off and noflash on .

This can be closed now
Because the key check is not in the infinite loop :P
It gets executed only once
Posts 1–2 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us