Revision Difference
list.Get#549056
<function name="Get" parent="list" type="libraryfunc">
<description>Returns a copy of the list stored at identifier⤶
⤶
Basic identifier related to the entities:⤶
⤶
NPC = List of NPCS.⤶
⤶
Weapon = Weapon list.⤶
⤶
Vehicles = Will concern spawnable vehicles.⤶
⤶
SpawnableEntities= will return the table of spawnable entities.⤶
⤶
</description>⤶
<description>Returns a copy of the list stored at identifier</description>⤶
<realm>Shared and Menu</realm>
<file line="18-L23">lua/includes/modules/list.lua</file>
<args>
<arg name="identifier" type="string">The list identifier</arg>
</args>
<rets>
<ret name="" type="table">The copy of the list</ret>
</rets>
</function>
<example>
<description>Get every available NPC from the client:</description>
<code>PrintTable( list.Get( "NPC" ) )</code>
</example>