mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +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, ped, and coords of all players 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 includePlayer boolean Whether or not to include the current player.
|
||||
---@return number[]
|
||||
function lib.getNearbyPlayers(coords, maxDistance, includePlayer) end
|
||||
```
|
||||
* coords: `vector3`
|
||||
* The coords to check from.
|
||||
* maxDistance: `number`
|
||||
* The max distance to check.
|
||||
* includePlayer: `boolean`
|
||||
* Whether or not to include the current player.
|
||||
|
||||
Return:
|
||||
* `number[]`
|
||||
Reference in new issue
Block a user