ox_lib: fix lazy copypaste

This commit is contained in:
Linden committed 2022-08-19 20:44:46 +10:00
1 parent 1ba9d3bb6f
commit 40faff4ab8
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -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
```
+2 -2
View File
@@ -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
```