Help Function Crashing
I Just add my Func to my D3D Base, and get's crash on Activate.
Credits:
@giniyat101 For Unpacked CShell
Code:
#define NoScope 0xAF0
#define WeaponMgr 0xC25BC8
if ( WeaponScope )
{
if ( pWeaponMgr )
{
for ( int i = 0; i < MAXWEAPONS; i++ )
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoScope) = 0.0f;
}
}
}
@giniyat101 For Unpacked CShell