Garry's Mod Wiki

Revision Difference

Entity:GetInternalVariable#515485

<function name="GetInternalVariable" parent="Entity" type="classfunc">⤶ <description>⤶ An interface for accessing internal key values on entities.⤶ ⤶ ⤶ This function returns variables created with **DEFINE_KEYFIELD** in C++ entities.⤶ ⤶ See <page>Entity:GetSaveTable</page> for a more detailed explanation.⤶ </description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="VariableName" type="string">Name of variable corresponding to an entity save value.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="any">The internal variable value</ret>⤶ </rets>⤶ </function>⤶ ⤶