ents.FindInCone
Description
Finds and returns all entities within the specified cone. Only entities whose Entity:WorldSpaceCenter is within the cone are considered to be in it.
The "cone" is actually a conical "slice" of an axis-aligned box (see: ents.FindInBox). The image to the right shows approximately how this function would look in 2D. Due to this, the entity may be farther than the specified range!

Clientside entities will not be returned by this function.
Arguments
3 number range
The range of the cone/box around the origin.
The function internally adds 1 to this argument before using it.
Returns
Example
Demonstrates how this function works.
Output:
Garry's Mod
Rust
Steamworks
Wiki Help