|
| 05 Feb 2014 01:09 PM |
| Does anyone know of any way I can get a player's clothing from their UserId in any way, e.g. a JSON file or an XML file? |
|
|
| Report Abuse |
|
|
jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
| |
|
jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
|
| 05 Feb 2014 01:24 PM |
ID = ID HERE
function getClothes(Player) Player.CharacterAppearance = tostring("http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..ID.."&placeId=0") if Player.Character:FindFirstChild("Shirt") and Player.Character:FindFirstChild("Pants") then --stuff end end
getClothes(game.Players.Player1) |
|
|
| Report Abuse |
|
|
|
| 05 Feb 2014 01:26 PM |
| Ah, sorry. I wasn't clear enough. I need it so that I can use it in a PHP API. That is why I need it as a JSON or an XML file. |
|
|
| Report Abuse |
|
|
jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
|
| 05 Feb 2014 01:27 PM |
ID = ID HERE
function getClothes(Player) if Player.CharacterAppearance = tostring("http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..ID.."&placeId=0") then if Player.Character:FindFirstChild("Shirt") and Player.Character:FindFirstChild("Pants") then --stuff else Player.CharacterAppearance = tostring("http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..ID.."&placeId=0") Player:LoadCharacter() end end
getClothes(game.Players.Player1) |
|
|
| Report Abuse |
|
|
jd678
|
  |
| Joined: 18 Apr 2008 |
| Total Posts: 11529 |
|
| |
|
| |
|