Server class ID.
Entity is scheduled for removal this tick.
Entity index.
Serial number.
Current cash
Alive players that this player has spotted
Alive players that have spotted this player
Player armor (0-100)
How many assists the player has made
Cash that this player has spent this round
Cash that the player has spent all game
Clantag of the player
Current equipment value
How many times the player has died
Duration of a flash that hit the player
Freeze time end equipment value
Number uniquely identifying this entity. Should be unique throughout the entire demo.
Whether the player holds the C4
Does the player have a defuser?
Does the player have a helmet?
Current health
lifeState == 0
Is the player defusing?
Is this player fake (i.e. a bot)
Is this player a HLTV relay
Is the player is the bomb zone?
Is the player in the buy zone?
Is scoped
Has this player been spotted by any others?
Is walking
How many kills the player has made
Object representing the player's performance per round
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
MVPs of the player
Player name
Owning entity, if any
Current navmesh place name
Round start equipment value
Score of the player
Get the serverclass associated with this entity.
Object representing the entity's class
Speed of the entity.
Speed in game units.
Steam 64 ID
Steam ID
Team if assigned, null if unassigned.
Team number (0: Unassigned, 1: Spectator, 2: Terrorist, 3: Counter-Terrorist)
User ID
User info associated with this player
Currently held weapon
All weapons helds by this player
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
Checks if this player has spotted another. Can still return true even if this player is dead.
Other player entity
Has this player spotted the other?
Other player entity
Whether the two players are on the same team
Checks if this player has been spotted by the other. Note that this still returns true if spotted by the other player even if the other player is dead.
Other player entity
Is this player spotted by the other?
Retrieves the value of an array property on the singleton entity DT_CSPlayerResource.
Property value
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 player.