Return doesn't work!

Posts 1–3 of 3 · Page 1 of 1
Return doesn't work!
I can't clean return! I use such code:

Code:
#define NoRecoil1 0x24CC //LowerAnimRate
#define NoRecoil2 0x18D4 //BulletPosOffset
#define NoRecoil3 0x18D8 //BulletPosOffset
#define NoRecoil4 0x18DC //BulletPosOffset
#define NoRecoil5 0x253C //LowerAnimRate
#define NoRecoil6 0x2540 //LowerAnimRate
#define NoRecoil7 0x2538 //LowerAnimRate
#define NoSpread 0x2650 //sight
Code:
bool CF_NoRecoil = true;
bool pWeaponMgr = true;
Code:
if(CF_NoRecoil)
{
if (pWeaponMgr)
{
for(int i=0; i<560; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
{
for (int j=0; j<10 ; j++)
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoRecoil1+j*4) = 0;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoRecoil2+j*4) = 0;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoRecoil3+j*4) = 0;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoRecoil4+j*4) = 0;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoRecoil5+j*4) = 0;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoRecoil6+j*4) = 0;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoRecoil7+j*4) = 0;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoSpread +j*4) = 0;

}}}}}
Why at me return isn't cleaned?
for (int j=0; j<10 ; j++)

9 is better... it got to be a low number, and wath you mean? the project give errors?
and way you got "bool pWeaponMgr = true" ?
What Do You Mean By Clean Return!
Does It Say That It Doesnt Return A Value ?
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us