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
``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