. however, it does not differentiate between friendly and enemy players. (i.e it will shoot if i look at teammates as well.) can someone explain the process of what i need to do to finish this thing up? thanks for the help guys.if (!isDormant && gEntityTeam != LocalPlayerTeam)

if (entityList[MyPlayer.crosshairID - 1].Team == MyPlayer.Team) return;
LocalBase = RPM(csHandle, Client.dll + Offset.LocalPlayer, 4, 0) MyTeam = RPM(csHandle, LocalBase + Offset.Team, 4, 0)
LocalBase = RPM(csHandle, Client.dll + Offset.LocalPlayer, 4, 0) InCross_Index = RPM(csHandle, LocalBase + Offset.InCross, 4, 0) - 1 EntityPointer = RPM(csHandle, Client.dll + Offset.EntityList + (InCross_Index * 16), 4, 0) EnemyTeam = RPM(csHandle, EntityPointer + Offset.Team, 4, 0)
Bool DifferentTeams
If MyTeam != EnemyTeam {
Return true
Else
Return false
}