From 40faff4ab8e8039d074e0286d6bdaff685562eda Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Fri, 19 Aug 2022 20:44:46 +1000 Subject: [PATCH] ox_lib: fix lazy copypaste --- docs/ox_lib/GetClosestVehicle/Client.md | 2 +- docs/ox_lib/GetNearbyVehicles/Client.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 ```