My Weapon hack not physically changing my weapon?
Hey guys, I'm making my hack, adding more and more features.. but when it comes to Weapon hack that changed M16 to Other weps I'm having some trouble.. here's some screenshots in-game:




So as you can see in the pics.. it looks like AK-47, but when I pick it up then for me its just M16 again? I'm suposed to be writing to a offset/addy aren't I...?
I'm simply using this source: (and yes, not mine, well partially is I changed it..)
and FYI the gun ID's or byte values or whatever are from like 2012 or 2011 even though they worked
So as you can see in the pics.. it looks like AK-47, but when I pick it up then for me its just M16 again? I'm suposed to be writing to a offset/addy aren't I...?
I'm simply using this source: (and yes, not mine, well partially is I changed it..)
Code:
if(weaponhack)
{
DWORD wPM16 = *(DWORD*)((*(DWORD*)(RVWShell+WeaponMgr))+(4*25));
DWORD wPM4A1 = *(DWORD*)((*(DWORD*)(RVWShell+WeaponMgr))+(4*12));
if (pWeaponMgr)
{
for(int i=0; i<999; i++)
{
if((*(DWORD*)((*(DWORD*)(RVWShell+WeaponMgr))+(4*i))) != NULL)
{
*(DWORD*)( wPM16 + i ) = *(DWORD*)( wPM4A1 + i );
}
}
}
}