Garry's Mod Wiki

Entity:GetInternalVariable

any Entity:GetInternalVariable( string VariableName )

Description

An interface for accessing internal key values on entities.

This function returns variables created with DEFINE_KEYFIELD in C++ entities.

See Entity:GetSaveTable for a more detailed explanation.

Arguments

1 string VariableName
Name of variable corresponding to an entity save value.

Returns

1 any
The internal variable value

Page Links


Special Pages


Wikis

?

Render Time: 31ms

DB GetPage 3
Generate Html 7
SaveChanges 13
Render Body 0
Render Sidebar 7