Iterating to 64 is fine, what you need to to in order to prevent those glows is to either check if entity class id is 35( aka player) or do more checks, however the first one is the better choice.
Hello,
Im iterating through EntityList with limit to < 64 then i get the object and Im checking it's team. Problem is that some objects on the map reports CT/T team! It sometimes glows windows and physics enabled elements on map. Did someone encountered similiar problem? Maybe I should limit for to lower value than 64?
Regards
Iterating to 64 is fine, what you need to to in order to prevent those glows is to either check if entity class id is 35( aka player) or do more checks, however the first one is the better choice.
Faith-based morality isn't morality at all; it's obedience.
// Thanks to @Block4o for the correct answer. Marking this as Solved and Closed.
Block4o (04-11-2016)