Revision Difference
Entity:GetKeyValues#526874
<function name="GetKeyValues" parent="Entity" type="classfunc">
<description>
Returns a table containing all key values the entity has.
⤶
Single key values can usually be retrieved with <page>Entity:GetInternalVariable</page>.⤶
<note>This only includes engine defined key values. "targetname" is not an actual key value in-engine, use <page>Entity:GetName</page> for that instead. For custom key values, use <page>GM:EntityKeyValue</page> or <page>ENTITY:KeyValue</page> to capture and store them.</note>
<note>Not all key values can be retrieved. Some of them are write-only.</note>⤶
</description>
<realm>Server</realm>
<rets>
<ret name="" type="table">A table of key values.</ret>
</rets>
</function>