ESP no longer shows you enemies from miles away , rather I think CS GO took up League of Legends' coding concept .
Now they only let you see what they want you to see with a few exceptions like a small distance or so through walls .

I guessed this because ESP teammate works through walls and half the map away but doesnt work for enemies just behind a few walls or so .
I think this can't be fixed by coding extra lol .