Active Weapon :
And now esp codenz, pseudocodeCode:int iGetActiveWeapon() { DWORD wpnhandl = Memory.Read<DWORD>(BaseEntity + Offsets.m_hActiveWeapon) & 0xFFF; DWORD wpnadd = Memory.Read<DWORD>(GetClientDLL() + Offsets.m_dwEntityList + (wpnhandl - 1) * 0x10); return Memory.Read<int>(wpnadd + Offsets.m_iItemDefinitionIndex); }
Code:if(bWeaponESP) { draw.whatever(x,y,colorez,wpn_name_array[iGetActiveWeapon()]); }