public Weapon GetCurrentWeapon(IntPtr baseAdress)
{
if (!IsValid)
return null;
int wepptr = Core.Memory.Read<int>(baseAdress + Offsets.Player.ActiveWeapon);
int wepptr1 = wepptr & 0xfff;
return new Weapon(Core.Memory.Read<IntPtr>(Core.ClientBase + Offsets.Misc.EntityList + (wepptr1 - 1) * 0x10));
}