Entity:GetProp s1
Reads a networked property. The returned Lua type depends on the underlying prop type.
Syntax
Entity:GetProp(name)
Parameters
namestring- DataTable path, e.g.
"m_iHealth".
Returns
The property value, or nil if the prop doesn't exist.