Garry's Mod Wiki

Revision Difference

ents.GetAll#562116

<function name="GetAll" parent="ents" type="libraryfunc"> <description> Returns a table of all existing entities. Consider using <page>ents.Iterator</page> instead for better performance. ⤶ <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>⤶ ⤶ 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. </description>⤶ <realm>Shared</realm> <rets> <ret name="" type="table">Table of all existing <page>Entity</page>s.</ret> </rets> </function>