Thread
:
Dota 2 problem
View Single Post
psychonic
BAFFLED
Join Date: May 2008
11-12-2014 , 12:40 Re: Dota 2 problem
#
2
Most of the fields on the Player Resource objects in Dota are indexed by a value called player ID, which is between 0-9 inclusive for players on Radiant or Dire, and 10-31 for spectators and broadcasters. Some of the fields have a size of 10, and some 32.
Your value for
player
is 133, which isn't a player id, or even a player/client entity index. It may be another entity, such as a hero. You can get a player's id by looking at the m_iPlayerID sendprop on the player.
psychonic
View Public Profile
Send a private message to psychonic
Visit psychonic's homepage!
Find More Posts by psychonic