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;
}






