Entity/GetKeyValues

From Garry's Mod
Jump to: navigation, search
 Entity:GetKeyValues( )

Description

Returns a table containing all key values the entity has.

NOTE

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.

Returns

table

A table of key values.
Personal tools
Navigation