mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
lib updates up to 3.5.0
This commit is contained in:
1 parent
5486bf3e88
commit
6815e4fbac
7 files changed
+139
-2
No files matched your search
@@ -0,0 +1,17 @@
|
||||
### lib.getClosestObject
|
||||
|
||||
Get the object handle and coords of the closest object to a set of coordinates.
|
||||
|
||||
```lua
|
||||
lib.getClosestObject(coords, maxDistance)
|
||||
```
|
||||
|
||||
* coords: `vector3`
|
||||
* The coords to check from.
|
||||
* maxDistance: `number`
|
||||
* The max distance to check.
|
||||
|
||||
Return:
|
||||
|
||||
* ped?: `number`
|
||||
* coords?: `number`
|
||||
Reference in new issue
Block a user