TPG.Util.IsWithinDistance(ply, point, distance)📋 Has LDoc👁️ 0 viewsUpdated 1 month ago
Description
Is a player within a radius of a point? Compares squared distances, so it is safe to call every tick.
Parameters
| Name | Type | Description |
|---|---|---|
ply | Player | |
point | Vector | |
distance | number | Radius in Source units. |
Returns
| Type | Description |
|---|---|
boolean |
Examples
No examples available.
Used In
No usages found in the codebase.