|
| 11 Jun 2015 03:41 PM |
How would i print a gampasses sales, for example if it was like this
local gpid= 0000 print(gpid.sales) How would I do it?
http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=23313558 |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 03:48 PM |
BOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOm
http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=23313558 |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 03:52 PM |
bummppp
http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=23313558 |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 03:57 PM |
bumppppp
http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=23313558 |
|
|
| Report Abuse |
|
|
hdtv13
|
  |
| Joined: 18 Sep 2012 |
| Total Posts: 1628 |
|
|
| 11 Jun 2015 04:01 PM |
Print when a player buys it?
I have skin, potatoes have skin, therefore I'm a potato. |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 04:01 PM |
@hdtv No total sales.
http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=23313558 |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 04:06 PM |
bump bumpity bumpeto
http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=23313558 |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 04:07 PM |
You don't need to bump every time your thread moves down a place lol.
I'm sure there might be some way to do it with HttpService, but you could just keep a datastore with the number of sales on it, and update whenever a user buys. |
|
|
| Report Abuse |
|
|
hdtv13
|
  |
| Joined: 18 Sep 2012 |
| Total Posts: 1628 |
|
|
| 11 Jun 2015 04:08 PM |
1. Stop bumping it will make people think the question has been solved.
Use http service and find an API
I have skin, potatoes have skin, therefore I'm a potato. |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 04:08 PM |
| Actually you could probably do it with MarketplaceService. Dunno |
|
|
| Report Abuse |
|
|
DataStore
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 8540 |
|
|
| 11 Jun 2015 04:12 PM |
local ProductInfo = game:GetService("MarketplaceService"):GetProductInfo(assetId) print(ProductInfo.Sales)
http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/GetProductInfo
There is absolutely no reason to use HttpService in this instance. |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 04:12 PM |
I think I figured it out. local Asset = game:GetService("MarketplaceService"):GetProductInfo(125378389).Sales
http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=23313558 |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 04:13 PM |
@Data We posted at the same time, anyways thanks.
http://www.roblox.com/Trade/TradeWindow.aspx?TradePartnerID=23313558 |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 04:23 PM |
local AssetID = 0000
print(game:GetService("MarketplaceService"):GetProductInfo(AssetID).Sales) |
|
|
| Report Abuse |
|
|