long knife
hey guys i need to make long knife x2
i have already made it but no thing happened in game
i have already made it but no thing happened in game
Code:
#define knives ((i==5) || (i==74) || (i==269) || (i==270) || (i==271) || (i== 372))
Code:
if(longknife)
{
if (pWeaponMgr){
for(int i=0; i<560; i++){
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL && (knives)) {
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x2720) = 600.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA54) = 600.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0x2721) = 300.0f;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + 0xA78) = 300.0f;
}
}
}
}