Garry's Mod Wiki

Revision Difference

ents.FindInSphere#514538

<function name="FindInSphere" parent="ents" type="libraryfunc">⤶ <description>⤶ Gets all entities within the specified sphere.⤶ ⤶ <note>Clientside entities will not be returned by this function.</note>⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="origin" type="Vector">Center of the sphere.</arg>⤶ <arg name="radius" type="number">Radius of the sphere.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="table">A table of all found <page>Entity</page>s. Has a limit of 1024 entities.</ret>⤶ </rets>⤶ </function>⤶ ⤶