mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +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
|
||||
nearby[count] = {
|
||||
object = object,
|
||||
coords = coords
|
||||
coords = objectCoords
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
@@ -19,7 +19,7 @@ function lib.getNearbyVehicles(coords, maxDistance, includePlayerVehicle)
|
||||
count += 1
|
||||
nearby[count] = {
|
||||
vehicle = vehicle,
|
||||
coords = coords
|
||||
coords = vehicleCoords
|
||||
}
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user