Server class ID.
Entity is scheduled for removal this tick.
Entity index.
Serial number.
Entity class name of the weapon (e.g. "weapon_ak47")
Number uniquely identifying this entity. Should be unique throughout the entire demo.
Item definition index
Name of the weapon (e.g. "Five-SeveN")
Name of the model that should be rendered for this entity. (e.g. 'models/Weapons/w_eq_smokegrenade_thrown.mdl')
Entity which this entity is moving with, if any
Owning entity, if any
Position of this entity in the game world.
World-space coordinates
Previous owner
Get the serverclass associated with this entity.
Object representing the entity's class
Team if assigned, null if unassigned.
Team number (0: Unassigned, 1: Spectator, 2: Terrorist, 3: Counter-Terrorist)
Interpret an array-like data table (e.g., m_iAmmo) as an array
Name of the data table
Retrieves the value of a networked property
Table name (e.g., DT_BaseEntity)
Network variable name (e.g., m_vecOrigin)
Property value, undefined if non-existent
Update the value of a prop
Name of the data table
Name of the prop to update
New prop value
Generated using TypeDoc
Represents an in-game weapon (guns, grenades, knifes).