Garry's Mod Wiki

Revision Difference

scripted_ents.GetList#529109

<function name="GetList" parent="scripted_ents" type="libraryfunc"> <file line="225-L233">lua/includes/modules/scripted_ents.lua</file>⤶ <description>Returns a copy of the list of all ENT tables registered</description> <realm>Shared</realm> <rets> <ret name="" type="table">A table of all entities in the following format: (table keys are the classnames) * <page>table</page> t - The <page text="ENT">Structures/ENT</page> table associated with the entity * <page>boolean</page> isBaseType - Always true * <page>string</page> Base - The entity base (note capital B in the key name) * <page>string</page> type - The entity type</ret> </rets> </function>