Mario5422
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 3922 |
|
|
| 18 Jul 2011 07:48 PM |
..and display it in a GUI?
Thanks |
|
|
| Report Abuse |
|
|
Mario5422
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 3922 |
|
|
| 18 Jul 2011 07:54 PM |
Bring Up My Post Or You Shall Die |
|
|
| Report Abuse |
|
|
| |
|
Mario5422
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 3922 |
|
| |
|
Mario5422
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 3922 |
|
| |
|
alexmach1
|
  |
| Joined: 02 May 2008 |
| Total Posts: 1977 |
|
|
| 18 Jul 2011 09:08 PM |
| no. you cant. please stop bumping. |
|
|
| Report Abuse |
|
|
Mario5422
|
  |
| Joined: 17 Nov 2008 |
| Total Posts: 3922 |
|
|
| 18 Jul 2011 09:10 PM |
I thought you could.
Look here: http://blog.roblox.com/?p=3623 |
|
|
| Report Abuse |
|
|
alexmach1
|
  |
| Joined: 02 May 2008 |
| Total Posts: 1977 |
|
|
| 18 Jul 2011 09:12 PM |
| you can find out who is friends with who, but you cant find out how many friends they have. if you read that, it never says you can. |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2011 08:58 AM |
I got an idea! It might include lag. Dis is in Player>PlayerGui>ScreenGui>Script
friends = 0 currentplayer = 0
repeat wait() currentplayer = currentplayer +1 if script.Parent.Parent.Parent:isFriendsWith(currentplayer) then friends = friends +1 else wait() --Create less lag until currentplayer == 999999 end |
|
|
| Report Abuse |
|
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 19 Jul 2011 09:03 AM |
...
That would only take a few hours to run trhough. |
|
|
| Report Abuse |
|
|
| |
|
|
| 19 Jul 2011 09:10 AM |
Still, HALP!!! DIS ISNT WORKING!!! Not printing a thing, can't see output.
friends = 0 currentplayer = 0
repeat wait() currentplayer = currentplayer +1 if script.Parent.Parent.Parent:isFriendsWith(currentplayer) then friends = friends +1 else print(""..currentplayer.." is not friends with "..script.Parent.Parent.Parent.Name..".") wait() until currentplayer == 999999 print(""..script.Parent.Parent.Parent.Name.." has "..friends.." friends.") end
|
|
|
| Report Abuse |
|
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 19 Jul 2011 09:11 AM |
So you're better off making a custom list of all his friends names and ids Friends = {} Friends[261] = "Telamon" Like that. |
|
|
| Report Abuse |
|
|
Seranok
|
  |
| Joined: 12 Dec 2009 |
| Total Posts: 11083 |
|
|
| 19 Jul 2011 09:11 AM |
| The Player has to be in-game for you to do Player:IsFriendsWith() |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2011 09:12 AM |
| Oh. I hate Play Solo when testing dat then. |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2011 09:19 AM |
I tested it Using a textlabel in Online, nothing:
friends = 0 currentplayer = 0
repeat wait() currentplayer = currentplayer +1 if script.Parent.Parent.Parent:isFriendsWith(currentplayer) then friends = friends +1 else script.Parent.Winner.Text = ""..currentplayer.." is not friends with "..script.Parent.Parent.Parent.Name.."." wait() until currentplayer == 999999 script.Parent.Winner.Text = ""..script.Parent.Parent.Parent.Name.." has "..friends.." friends." end
|
|
|
| Report Abuse |
|
|
alexmach1
|
  |
| Joined: 02 May 2008 |
| Total Posts: 1977 |
|
|
| 19 Jul 2011 09:20 AM |
| go to scripting helpers, lots more people with this kind of knowledge. |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2011 09:21 AM |
| This is scripting helpers. |
|
|
| Report Abuse |
|
|
alexmach1
|
  |
| Joined: 02 May 2008 |
| Total Posts: 1977 |
|
|
| 19 Jul 2011 09:38 AM |
| LOL, i was stuck on roblox talk. |
|
|
| Report Abuse |
|
|
br45entei
|
  |
| Joined: 06 Nov 2010 |
| Total Posts: 1058 |
|
| |
|
|
| 19 Jul 2011 09:44 AM |
The only information you can find out about a player's friends is
-If they are friends with - :IsFriendsWith() -If they are best friends with :IsBestFriendsWith()
|
|
|
| Report Abuse |
|
|