entity

Fields:

Usage:

-- if you supply a table name that will be used, otherwise it'll use the entities class 
health = ent:get_prop("m_iHealth") 
-- grabs the player's health 
simulation_time = ent:get_prop("DT_BaseEntity:m_flSimulationTime") --grabs player's simulation time

Last updated