Garry's Mod Wiki


table Entity:GetKeyValues()


Returns a table containing all key values the entity has.

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

This only includes engine defined key values. "targetname" is not an actual key value in-engine, use Entity:GetName for that instead. For custom key values, use GM:EntityKeyValue or ENTITY:KeyValue to capture and store them.
Not all key values can be retrieved. Some of them are write-only.


1 table
A table of key values.

Page Links

Special Pages



Render Time: 32ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 10
Render Body 0
Render Sidebar 12