Garry's Mod Wiki

list.GetEntry

  any or nil list.GetEntry( string list, string key )

Description

Returns a copy of the entry in the list list with key key.

Arguments

1 string list
List to search through
2 string key
The key to search for

Returns

1 any or nil
Returns the value if the list contains the key, nil otherwise