You need to get the value of your team and the loop's current player. For example :
Then you need to check if the current player is on your team or not. For example :Code:int teamNum = Mem.Read<int>(currentPlayer + Team); int MyTeam = Mem.Read<int>(LocalPlayer + Team);
Code:if (teamNum == MyTeam){ team esp code } else if (teamNum != MyTeam){ enemy esp code }