Garry's Mod Wiki

Revision Difference

ents.GetAll#550621

<function name="GetAll" parent="ents" type="libraryfunc"> <description>Returns a table of all existing entities. The table is sequential</description>⤶ <description>⤶ Returns a table of all existing entities.⤶ <note>This function returns a sequential table, meaning it should be looped with <page>Global.ipairs</page> instead of <page>Global.pairs</page> for efficiency reasons.</note>⤶ </description>⤶ <realm>Shared</realm> <rets> <ret name="" type="table">Table of all existing <page>Entity</page>s.</ret> </rets> </function>