mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
use same params and types format for all of lib
This commit is contained in:
1 parent
e3293c2109
commit
6c2ab8f8ec
14 files changed
+114
-67
No files matched your search
@@ -3,9 +3,14 @@
|
||||
Get the id and coords of all vehicles within range of a set of coordinates.
|
||||
|
||||
```lua
|
||||
---@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.
|
||||
---@return number[]
|
||||
function lib.getNearbyVehicles(coords, maxDistance, includePlayerVehicle) end
|
||||
```
|
||||
* coords: `vector3`
|
||||
* The coords to check from.
|
||||
* maxDistance: `number`
|
||||
* The max distance to check.
|
||||
* includePlayerVehicle: `boolean`
|
||||
* Whether or not to include the player's current vehicle.
|
||||
|
||||
Return:
|
||||
* `number[]`
|
||||
Reference in new issue
Block a user