C# Faster GetClosestPed?
-
Is there a faster version of
World.GetClosest<T>(ISpatial[] spatials)? I've used this method before but it seems to be very slow when dealing with a large array. I know the game has internal lists already, so is there some native similar toGET_CLOSEST_PEDthat gives me more that just ped's that are walking?