.. like this Mem.Write<bool>(currentplayer + bSpotted, true); or something like that for (int i = 0; i < 32; i++)
{
eList[i].Read(i);
LocalPlayer.Read();
if (!eList[i].Base)
continue;
if (eList[i].Team == LocalPlayer.Team)
continue;
if (eList[i].Health < 2)
continue;
if (eList[i].Dormant)
continue;
Mem.Write<bool>(eList[i].Base + m_bSpotted, 1);