Quote:
Originally Posted by RedSword
m_iScore is a netprops in the resource manager in CSS/GO; not a datamap in the player entity (but its equivalent is m_iFrags in the player, for CS). Therefore unless I'm wrong, it should not work.
If your game isn't CS, it might work.
Red
edit :
AFAIK the think of the scoreboard (being the resource manager) is about ~1 to 4 times a second in CSS; so you better change the datamap (unless you want to change the ping).
|
Did you look at asherkin's source code right above his question?
It's calling GetPlayerResourceEntity(), which returns the entity index of the game-specific child of CPlayerResource... which controls the scoreboard.
__________________