Code:
#define RightClickAttributes 0xAF0
#define ZoomAttributes 0xAF4
bool ZoomHack = (true);
int MaxLevelOfZooms = 2;
DWORD rWeapon = *(DWORD*)(pWeaponMgr+(4*i));
if(ZoomHack)
{
for(int y=0; y<1500; y++)
{
if ((OHKWEAPONS) && (Rifle || MG || Pistol || ShotGun || SMG ))
{
*(float*)(rWeapon + RightClickAttributes ) = 2.0f;
*(float*)(rWeapon + ZoomAttributes ) = 8.0f;
*(float*)(rWeapon + (0x3918 + 0 * 4)) = 2.5f;
*(float*)(rWeapon + (ZoomAttributes + 1 * 4)) = 2.0f;
*(int* )(rWeapon + (0x3940 + 10 * 4)) = 2.0f;
*(float*)(rWeapon + (0x3944 + 11 * 4)) = 500.0f;
*(float*)(rWeapon + (0x3948 + 12 * 4)) = 500.0f;
}
}
}
why ?