Hotkey Problem
Anyone can help me ?
Whenever I press f11 the timer doesnt start. Putting the writeprocessmemory in the ...
Works but putting the timer.Start(); doesnt work.
if ((GetAsyncKeyState(Keys.F10) == -32767))
{
if (f10 == false)
{
f10 = true;
if (f10 == true)
{
Memory.WriteNOPs(game, norecoilOFF, 10); //THIS WORKS
}
}
else
{
f10 = false;
if (f10 == false)
{
}
}
}
if ((GetAsyncKeyState(Keys.F11) == -32767))
{
if (f11 == false)
{
f11 = true;
if (f11 == true)
{
unlihealth.Start(); // THIS DOESNT WORK
}
}
else
{
f11 = false;
if (f11 == false)
{
}
}
}
Starting the timer doesnt work.
- - - Updated - - -
nvm fixed it using system.timers