Garry's Mod Wiki

Entity:GetKeyValues

table Entity:GetKeyValues()

Description

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.

Returns

1 table
A table of key values.

Page Links


Special Pages


Wikis

?

Render Time: 39ms

DB GetPage 3
Generate Html 4
SaveChanges (1) 18
Render Body 0
Render Sidebar 11