someone help :(
i have problem with this code , when i debug the base it keeps giving me that hack must return a value ???
who can fix it !
who can fix it !
Code:
DWORD WINAPI Hack(LPVOID param) {
PDWORD Weapon = (PDWORD)(dwCShell + 0xA69120);
DWORD pWeaponMgr1 = *(DWORD*)(dwCShell + WeaponMgr);
bool norecoil = true;
if(norecoil == true)
{
if (pWeaponMgr1)
for(int i=0 ; i<601 ; i++)
{
DWORD Wep = *(DWORD*)(*Weapon + 4*i);
if(Wep)
{
for(int y = 0; y<9; y++)
{
*(float*)( Wep + (0x051C + (4*y))) = (float)0;//same "PerturbMin%d_%s"
*(float*)( Wep + (0x0684 + (4*y))) = (float)0;//same "PerturbMax%d_%s"
*(float*)( Wep + (0x192C + (4*y))) = (float)0;//same "BulletOffset" => second
*(float*)( Wep + (0x1B00 + (4*y))) = (float)0;//same "ShotReactPitch%d_%d" -8
*(float*)( Wep + (0x1F8C + (4*y))) = (float)0;//same "DetailPerturbShot%d_%s" -8
*(float*)( Wep + (0x20F4 + (4*y))) = (float)0;//same "DetailReactPitchShot%d_%s" -8
*(float*)( Wep + (0x225C + (4*y))) = (float)0;//same "DetailReactYawShot%d_%s" -8
}
}
}
}
}


