mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
ox_lib: fix lazy copypaste
This commit is contained in:
1 parent
1ba9d3bb6f
commit
40faff4ab8
2 files changed
+3
-3
No files matched your search
@@ -8,5 +8,5 @@ Get the id and coords of the closest vehicle to a set of coordinates.
|
||||
---@param includePlayerVehicle boolean Whether or not to include the player's current vehicle.
|
||||
---@return number? vehicle
|
||||
---@return vector3? vehicleCoords
|
||||
function lib.getClosestPlayer(coords, maxDistance, includePlayerVehicle) end
|
||||
function lib.getClosestVehicle(coords, maxDistance, includePlayerVehicle) end
|
||||
```
|
||||
@@ -1,4 +1,4 @@
|
||||
### lib.getNearbyPlayers
|
||||
### lib.getNearbyVehicles
|
||||
|
||||
Get the id and coords of all vehicles within range of a set of coordinates.
|
||||
|
||||
@@ -7,5 +7,5 @@ Get the id and coords of all vehicles within range of a set of coordinates.
|
||||
---@param maxDistance number The max distance to check.
|
||||
---@param includePlayerVehicle boolean Whether or not to include the player's current vehicle.
|
||||
---@return number[]
|
||||
function lib.getNearbyPlayers(coords, maxDistance, includePlayerVehicle) end
|
||||
function lib.getNearbyVehicles(coords, maxDistance, includePlayerVehicle) end
|
||||
```
|
||||
Reference in new issue
Block a user