What is the error of this backup? The addresses are fully updated according to the latest update ...
When I enter the crossfire comes the 'Report error'.
Code:
float SpeedOld[1776];
void backupvalue()
{
for (int i = 0; i <= 1776; i++)
{
DWORD Weapon = (DWORD) (pWeaponMgr + (4 * i));
if (Weapon != 0)
{
SpeedOld[i] = *(float*) (Weapon + MoveSpeedPenalty);
}
}
}
void SpeedHacker()
{
for (int i = 0; i <= 1776; i++)
{
DWORD Weapon = (DWORD) (pWeaponMgr + (4 * i));
if (GetAsyncKeyState(VK_SHIFT))
Weapon = ! Weapon;
if (Weapon != 0)
if (GetAsyncKeyState(VK_SHIFT))
*(float*) (Weapon + MoveSpeedPenalty) = -0.2f;
else
*(float*) (Weapon + MoveSpeedPenalty) = SpeedOld[i];
}
}