mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
fix(imports): return coords getNearbyObjects and getNearbyVehicles
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user