Garry's Mod Wiki

Revision Difference

list.Get#529295

<function name="Get" parent="list" type="libraryfunc"> <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>