Returns the entity/vector that is closest to the <origin> from the <array>.
Example:
ent = ArrayGetClosest( player.origin, a_enemies )
* = mandatory