I'm so confused by the lack of documentation on these functions. Not sure if it's findnpc(whattheheckaretheparams)or getnpc(whattheheckaretheparams), getplayer(somekindofparams)... etc.
What I really want to do is find an NPC or player by coordinates. How the heck do you do that? The only way i know how is to cycle through the index until you find one in a range of coords.