diff --git a/docs/ox_lib/GetClosestVehicle/Client.md b/docs/ox_lib/GetClosestVehicle/Client.md index 0187d671..b5a6acaf 100644 --- a/docs/ox_lib/GetClosestVehicle/Client.md +++ b/docs/ox_lib/GetClosestVehicle/Client.md @@ -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 ``` diff --git a/docs/ox_lib/GetNearbyVehicles/Client.md b/docs/ox_lib/GetNearbyVehicles/Client.md index e085cf6b..cd342e12 100644 --- a/docs/ox_lib/GetNearbyVehicles/Client.md +++ b/docs/ox_lib/GetNearbyVehicles/Client.md @@ -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 ```