Garry's Mod Wiki

ents.FindInSphere

table ents.FindInSphere( Vector origin, number radius )

Description

Gets all entities within the specified sphere.

Clientside entities will not be returned by this function.

Arguments

1 Vector origin
Center of the sphere.
2 number radius
Radius of the sphere.

Returns

1 table
A table of all found Entitys. Has a limit of 1024 entities.

Page Links


Special Pages


Wikis

?

Render Time: 38ms

Session 0
DB GetPage 2
Generate Html 13
SaveChanges 8
Render Body 0
Render Sidebar 12