Looks like someone is trying to do a wallhack... interesting...
I don't know much about it too, but HERE is a DETECTED External ESP hack for MW2 WITH the source code... (too bad is in C++)... You can take a look at the code and try to understand how it get the players location... Good luck