generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Get clothing

Previous Thread :: Next Thread 
glosgreen2 is not online. glosgreen2
Joined: 06 Jul 2009
Total Posts: 1303
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 is not online. jd678
Joined: 18 Apr 2008
Total Posts: 11529
05 Feb 2014 01:17 PM
why not lua?
Report Abuse
jd678 is not online. 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
glosgreen2 is not online. glosgreen2
Joined: 06 Jul 2009
Total Posts: 1303
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 is not online. 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 is not online. jd678
Joined: 18 Apr 2008
Total Posts: 11529
05 Feb 2014 01:28 PM
Ohh i see
Report Abuse
glosgreen2 is not online. glosgreen2
Joined: 06 Jul 2009
Total Posts: 1303
05 Feb 2014 01:41 PM
Bump?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image