How to change knife model externally?
So currently I'm checking if the CurrentWeapon is 59 and if it is, I have this
I've also tried this:
I've tried a few other methods as well, but can't seem to figure out how to change the actual model. This changes the icon and name to Karambit, but still holding default knife.
Any help would be much appreciated
Code:
DWORD ViewModelEntityIndex = Mem.Read<DWORD>(LocalPlayer + m_hViewModel) & 0xFFF; DWORD ViewModel = Mem.Read<DWORD>(ClientDLL + EntityList + ViewModelEntityIndex * 0x10); Mem.Write<DWORD>(ViewModel + m_nModelIndex, 575); Mem.Write<DWORD>(CurrentWeaponEntity + m_iItemDefinitionIndex, 507);
Code:
DWORD nWeaponIndex = Mem.Read<DWORD>(CurrentWeaponEntity + m_AttributeManager + m_Item + m_iItemDefinitionIndex); Mem.Write<DWORD>(nWeaponIndex, 507);
Any help would be much appreciated

