Revision Difference
list.Get#564629
<function name="Get" parent="list" type="libraryfunc">
<description>Returns a copy of the list stored at identifier</description>⤶
<description>Returns a copy of the list stored at identifier⤶
<warning>If you don't plan to change anything in list, it's better to use <page>list.GetForEdit</page> for better performance.</warning>⤶
</description>⤶
<realm>Shared and Menu</realm>
<file line="10-L14">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>