Memory Functions
Helly Guys, my Souce it's getting Crash in game.
Help Me ?
Help Me ?
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;
}
}
}

