mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-22 19:08:36 +00:00
fix(types): optional params in getClosest* (#519)
This commit is contained in:
1 parent
0e00ff57ff
commit
10db769f41
4 files changed
+6
-6
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---@param coords vector3 The coords to check from.
|
||||
---@param maxDistance number The max distance to check.
|
||||
---@param includePlayerVehicle boolean Whether or not to include the player's current vehicle. Ignored on the server.
|
||||
---@param maxDistance? number The max distance to check.
|
||||
---@param includePlayerVehicle? boolean Whether or not to include the player's current vehicle. Ignored on the server.
|
||||
---@return number? vehicle
|
||||
---@return vector3? vehicleCoords
|
||||
function lib.getClosestVehicle(coords, maxDistance, includePlayerVehicle)
|
||||
|
||||
Reference in new issue
Block a user