Hello Guys,
only works if you hold down the shift button. But is there anyway to make it so that if you press it once then it stays on. And if you press it again it goes off. Instead of holding down the shift key?
would this work:
Code:
if (GetAsyncKeyState(VK_SHIFT) &1)
would this work:
Code:
if (GetAsyncKeyState(VK_SHIFT) &1) { *(float*)(*inGame + ADR_OFS_NORECOIL1) = 1; *(float*)(*inGame + ADR_OFS_NORECOIL2) = 1; *(float*)(*inGame + ADR_OFS_NORECOIL3) = 1; } else { *(float*)(*inGame + ADR_OFS_NORECOIL1) = 0; *(float*)(*inGame + ADR_OFS_NORECOIL2) = 0; *(float*)(*inGame + ADR_OFS_NORECOIL3) = 0; }