GetNearestObjectToLocation

// Get the nNth object nearest to lLocation that is of the specified type. // - nObjectType: OBJECT_TYPE_* // - lLocation // - nNth // * Return value on error: OBJECT_INVALID object GetNearestObjectToLocation(int nObjectType, location lLocation, int nNth=1);