Garry's Mod Wiki


  table Entity:GetKeyValues()


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:


1 table
A table of key values.