ents.FindInBox
Description
Returns all entities within the specified box.
This internally uses a Spatial Partition to avoid looping through all entities, so it is more efficient than using ents.GetAll for this purpose.
Clientside entities will not be returned by this function. Serverside only entities without networked edicts (entity indexes), such as point logic or Constraints are not returned either
Arguments
Returns
Example
Returns a table of players in a box using ents.FindInBox