Created
July 3, 2014 12:55
-
-
Save tarzak/00bc49e9904f9d160e9a to your computer and use it in GitHub Desktop.
Getting names of all your friends in The-west.ru
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var objArr = WestUi.FriendsBar.friendsBarUi.friendsBar.getAllPlayers(), | |
friendsNames = [], | |
i = 0; | |
for (i = 0; i < objArr.length; i++) | |
friendsNames[i] = objArr[i].name; | |
console.log(friendsNames); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment