Hi dear kent
how can i show players avatar in to the my website homepage by session id?
Show avatar in the website
Re: Show avatar in the website
or player namesands wrote:Hi dear kent
how can i show players avatar in to the my website homepage by session id?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Show avatar in the website
Call ConnectionsList in the API to get the list of all players logged in or ConnectionsGet to get the player name for a specific SessionID. Then call either AccountsList (for multiple players) or AccountsGet (for single player) to get their avatar index. The API docs in the help file has a section labeled "Avatars" near the top that shows how to display the avatars on your web site.