Garry's Mod Wiki

Entity:GetKeyValues

  table Entity:GetKeyValues()

Description

Returns a table containing Hammer key values the entity has stored. Not all key values will be accessible this way. Use GM:EntityKeyValue or ENTITY:KeyValue to capture and store every key value.

Single key values can usually be retrieved with Entity:GetInternalVariable.

Here's a list of keyvalues that will not appear in this list, as they are not stored/defined as actual keyvalues internally:

Returns

1 table
A table of key values.