Garry's Mod Wiki

Revision Difference

scripted_ents.GetList#512799

<function name="GetList" parent="scripted_ents" type="libraryfunc">⤶ <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>ENT associated with the entity</page>⤶ * <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>⤶ ⤶