|
| 10 Jun 2015 11:05 PM |
I was wondering if it's possible to get a list of a players inventory, such as hats and things. Possibly using http service?
~who's awesome? you're awesome! |
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Jun 2015 12:32 AM |
Idk about the Http service thing but im pretty sure you get just get the Backpack
Player.BackPack for example
Player = script.Parent.Parent wait(2) for _,item in pairs(Player.Backpack:GetChildren()) do Message = Instance.new('Message',workspace) Message.Text = "["..Player.Name.."'s Backpack] - "..item.Name wait(1) Message:Destroy() end print('Script Ran')
This will get every item in a players backpack regardless if its equipped or not |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 12:33 AM |
| Oh wait I think I see what you mean! Like character items? If so then no idea... |
|
|
| Report Abuse |
|
|
UgOsMiLy
|
  |
| Joined: 15 Sep 2009 |
| Total Posts: 2095 |
|
|
| 11 Jun 2015 02:30 AM |
@SavageMunkey
That wouldn't even work, since if a tool is equipped, it goes out of their backpack and into their character
Anyway, probably httpservice. |
|
|
| Report Abuse |
|
|
drager980
|
  |
| Joined: 25 May 2009 |
| Total Posts: 13385 |
|
|
| 11 Jun 2015 02:39 AM |
marketplaceservice does something like this iirc
AND THE TIGER GOES ROAR |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 04:17 AM |
While it would be possible to create you own custom method by looking through their profile, you would need to create a way to get IDs between tags, and change the page.
If you're looking for a default method, then no. http://api.roblox.com/docs |
|
|
| Report Abuse |
|
|
|
| 12 Jun 2015 10:25 PM |
| @UgO I tested it in the studio b4 I posted it, it works. |
|
|
| Report Abuse |
|
|
drager980
|
  |
| Joined: 25 May 2009 |
| Total Posts: 13385 |
|
|
| 13 Jun 2015 05:03 AM |
@savage he's talking about the PLAYERS INVENTORY ITEMS, not the ingame players backpack
AND THE TIGER GOES ROAR |
|
|
| Report Abuse |
|
|
hdtv13
|
  |
| Joined: 18 Sep 2012 |
| Total Posts: 1628 |
|
|
| 13 Jun 2015 05:42 AM |
There is a usermade API for this, I'll post if I can find it.
I have skin, potatoes have skin, therefore I'm a potato. |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2015 04:57 PM |
K, thanks guys.
~who's awesome? you're awesome! |
|
|
| Report Abuse |
|
|