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: 27ms

Session 0
DB GetPage 4
Generate Html 1
SaveChanges 8
Render Body 0
Render Sidebar 12