Can't find specific netvars
Hi,
I'm trying to create a knife changer, and I think my code is actually correct but still the knife isn't changing.
I think it is because I am using outdated netvars, but I can't find any netvar dumps including the ones I need & any netvar dumpers.
My current code:
I'm trying to create a knife changer, and I think my code is actually correct but still the knife isn't changing.
I think it is because I am using outdated netvars, but I can't find any netvar dumps including the ones I need & any netvar dumpers.
My current code:
Code:
if (CurrentWeaponId == 42 || CurrentWeaponId == 59)
{
int KnifeIndex = ReadMem(LocalP + 0x32F0 + ((i - 1) * 0x4)) & 0xFFF; //m_hViewModel
int KnifeEntity = ReadMem(clientO + EntityListO + (KnifeIndex - 1) * 0x10);
WriteMem(KnifeEntity + m_iItemIDHigh, BitConverter.GetBytes(-1)); //0x2FA0
WriteMem(KnifeEntity + 0x31D4, BitConverter.GetBytes(586)); //m_iWorldModelIndex
WriteMem(KnifeEntity + m_iWorldModelIndex, BitConverter.GetBytes(587)); //0x31D4
}
