Head only external trigger (python)
So this gets the x,y coordinates of each entity (you should add m_bspottedbymask, team checks and dormant checks, this is just a proof of concept) and if your viewangles are near that it fires. I originally made this to try to make a tf2 trigger (crosshairid is inaccurate for tf2) but this is also useful for csgo head only trigger.