Garry's Mod Wiki

Revision Difference

Entity:GetKeyValues#515484

<function name="GetKeyValues" parent="Entity" type="classfunc">⤶ <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 <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>⤶ </description>⤶ <realm>Server</realm>⤶ <rets>⤶ <ret name="" type="table">A table of key values.</ret>⤶ </rets>⤶ </function>⤶ ⤶