Static function
Moderate
Server.GetPlayersInRadius
Returns the players within the specified radius
Syntax
Server.GetPlayersInRadius(location, radius, dimension = 0)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
location
|
Vector | — | The center location of the search |
radius
|
number | — | The search radius |
dimension
optional
|
integer | 0 |
The dimension to search in |
Returns
- Player[] The players found in radius