Jackd44
|
  |
| Joined: 19 Dec 2008 |
| Total Posts: 200 |
|
|
| 25 Oct 2014 11:13 PM |
| So, I have a universe, and I'd like to see how many people are playing one of the minigames inside of the universe(it's a separate game inside the universe). I have been searching through the roblox wiki and couldn't really find an easy way to pull this off (I did see MarketplaceService, which looked somewhat promising, but I'm not sure.). I was thinking about using a data store and increasing or decreasing by 1 every time a player joins, but I'd still have difficulty with servers that shutdown with multiple players in it and such. I suppose it'd still be do-able, but I'd like to ask you guys if an easier way exists before I start doing that. |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 25 Oct 2014 11:14 PM |
Personally I'd use DataStore Also game.OnClose
Talking in third person annoys people. |
|
|
| Report Abuse |
|
|
Jackd44
|
  |
| Joined: 19 Dec 2008 |
| Total Posts: 200 |
|
|
| 25 Oct 2014 11:32 PM |
Ah, yes. game.Onclose
So I'm think the best way to tackle this probably would be to just increment up and down per place enter and exit(and decrease by the total number of players in the server on shutdown), right? |
|
|
| Report Abuse |
|
|
wazap
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 23234 |
|
|
| 25 Oct 2014 11:36 PM |
that is the method wazap has used.
Talking in third person annoys people. |
|
|
| Report Abuse |
|
|
Jackd44
|
  |
| Joined: 19 Dec 2008 |
| Total Posts: 200 |
|
|
| 26 Oct 2014 12:07 AM |
Cool.
(3rd person doesn't annoy me. :P I am immune to your ways, wazap!) |
|
|
| Report Abuse |
|
|