Garry's Mod Wiki

Entity:GetTable

  table Entity:GetTable()

Description

Returns a table that contains all lua-based key-value pairs saved on the Entity.

For retrieving engine-based key-value pairs, see Entity:GetSaveTable

Returns

1 table
A table of the lua data stored on the Entity, or nil if the Entity is NULL.