fix(imports): return coords getNearbyObjects and getNearbyVehicles

This commit is contained in:
Dolu
2023-02-03 13:11:13 +11:00
committed by Linden
parent 0ea6705b16
commit bd51fc72e0
2 changed files with 2 additions and 2 deletions
+1 -1
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
+1 -1
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