This article's documentation is for anything that uses the Source engine. Click here for more information.

Player manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{Ent not in fgd|nolink=1|because=this entity appears automatically}} {{CD|CPlayerResource|file1=1}} {{this is a|point entity|name=player_manager}} This is entity that propaga...")
 
No edit summary
Line 1: Line 1:
{{Ent not in fgd|nolink=1|because=this entity appears automatically}}
{{Ent not in fgd|nolink=1|because=this entity appears automatically}}
{{CD|CPlayerResource|file1=1}}
{{CD|CPlayerResource|file1=1}}
{{this is a|point entity|name=player_manager}} This is entity that propagates general data needed by clients for every {{ent|player}} (ping, score, deaths, connected, team, alive). You will not see any info in data table if this entity is killed.
{{this is a|point entity|name=player_manager}} This is entity that propagates general data needed by clients for every {{ent|player}} (ping, score, deaths, connected, team, alive).
 
You will not see any info in data table if this entity is killed, you can use this to hide the information.
 
<gallery mode=nolines widths=620px heights=450px>
File:player_man1.jpg|Entity is not killed.
File:player_man2.jpg|Entity is killed.
</gallery>

Revision as of 00:28, 8 September 2024

Icon-NotInFGD.png
This entity is not in the FGD by default.
It should not be put directly in a map because this entity appears automatically.
C++ Class hierarchy
CPlayerResource
CBaseEntity
C++ player_resource.cpp

player_manager is a point entity available in all Source Source games. This is entity that propagates general data needed by clients for every player (ping, score, deaths, connected, team, alive).

You will not see any info in data table if this entity is killed, you can use this to hide the information.