fix(imports): return coords getNearbyObjects and getNearbyVehicles

This commit is contained in:
Dolu
2023-01-15 23:25:17 +01:00
committed by Linden
parent 0ea6705b16
commit bd51fc72e0
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ function lib.getNearbyObjects(coords, maxDistance)
count += 1 count += 1
nearby[count] = { nearby[count] = {
object = object, object = object,
coords = coords coords = objectCoords
} }
end end
end end

View File

@@ -19,7 +19,7 @@ function lib.getNearbyVehicles(coords, maxDistance, includePlayerVehicle)
count += 1 count += 1
nearby[count] = { nearby[count] = {
vehicle = vehicle, vehicle = vehicle,
coords = coords coords = vehicleCoords
} }
end end
end end