Garry's Mod Wiki

list.Get

  table list.Get( string identifier )

Description

Returns a copy of the list stored at identifier

Arguments

1 string identifier
The list identifier

Returns

1 table
The copy of the list

Example

Get every available NPC from the client:

PrintTable( list.Get( "NPC" ) )