player

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
edit
Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map.
Recycle-warning.png
This is a preserved entity.
If the game has round restart mechanics this entity may not behave as expected.
Class hierarchy
CCSPlayer
CBaseMultiplayerPlayer
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity

player is an entity available in Counter-Strike seriesCounter-Strike series Counter-Strike series. The player itself or a bot. NPCs are not players. This entity still exists even if the player is dead.

Inputs

OnRescueZoneTouch
Fired when touching a func_hostage_rescue. If the player is a CT, shows the #Hint_hostage_rescue_zone help text onscreen, if the player hasn't seen it yet that round.
Warning.pngRisk of Confusion:This is an input, despite starting with "On" (which is usually used for outputs).