it is all wrong

you should modify it, or replace it with the code below:
perheps about the addys, i am not sure, i did put the addys you had written in the previous post 

you should modify it, or replace it with the code below:
Code:
if(weight)
{
if (p0xA2A7E8)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+p0xA2A7E8))+(4*i))) + 0x21DC) = 0.0f;
}
}
}

