|
| 24 Jun 2014 08:45 PM |
| Who can tell me how to use http service to get an individual's rank? Can you give me an example? |
|
|
| Report Abuse |
|
|
enzo90
|
  |
| Joined: 25 Mar 2012 |
| Total Posts: 7104 |
|
|
| 24 Jun 2014 09:08 PM |
| Your over complicating yourself. You don't have to. You can get it normally by doing if player is in group with a # value for the rank. |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2014 09:09 PM |
You don't use HttpService for that.
GroupId = 123456 function GetRole(Player) role = Player:GetRoleInGroup(GroupId) end game.Players.PlayerAdded:connect(GetRole) |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2014 09:11 PM |
I don't know how I didn't think of that. Thanks. |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2014 09:15 PM |
| What about retrieving the character image? |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 24 Jun 2014 09:18 PM |
| Search that on the internet. There is a thread about that. |
|
|
| Report Abuse |
|
|
enzo90
|
  |
| Joined: 25 Mar 2012 |
| Total Posts: 7104 |
|
|
| 24 Jun 2014 09:23 PM |
| To retrieve character image:A billboard GUI above the players head with a text label. That you can use an http service to get the players photo for the text label... Or you could probably go into the text label and have the image the player profile image...which probably also requires an http service to get the players profile. |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2014 09:25 PM |
| http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=ROBLOX |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2014 09:26 PM |
| I want to retrieve the image for a GUI. |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2014 09:27 PM |
| Put this in an ImageLabel: http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=ROBLOX |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Jun 2014 09:34 PM |
| Use userid instead of username, as usernames can change. |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2014 09:36 PM |
| True. I appreciate the help. I AM a beginner scripter, but I understand it.I may have other questions, so be ready. |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2014 09:39 PM |
| How do I retrieve the image using the player ID? |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2014 09:40 PM |
http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=ROBLOX
http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userid=1 |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Jun 2014 09:46 PM |
| Can someone show me how I can change the ImageLabel to the player image OnPlayerEnter? |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Jun 2014 10:05 PM |
How do I get this to work?
script.ImageLabel.Image = ("http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&userid="(player.userid))
As I said, I am a beginner scripter, so help is appreciated. |
|
|
| Report Abuse |
|
|
|
| 24 Jun 2014 10:24 PM |
| "whatever" .. player.userId |
|
|
| Report Abuse |
|
|