Drantini
|
  |
| Joined: 15 May 2008 |
| Total Posts: 3718 |
|
|
| 05 Aug 2011 03:36 PM |
| What script do I use so u don't have to wear a vip t-shirt to the game to get features, but u need to buy the t-shirt. Something like TheGamer101's vip. |
|
|
| Report Abuse |
|
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
| |
|
Bambam152
|
  |
| Joined: 30 Jan 2009 |
| Total Posts: 635 |
|
|
| 05 Aug 2011 03:40 PM |
You need to make the script check to see if the player owns the Tshirt.
~I'm an Iams Pterodactyl~ |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 03:47 PM |
I've been wondering the same thing. I'm going to rephrase your question for the others:
He's asking how can you check the player's t-shirts to see if he/she owns the t-shirt required without them needing to wear it in game. |
|
|
| Report Abuse |
|
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 05 Aug 2011 03:48 PM |
You probably don't see, I already wrote the solution. You do it with BadgeService. End, no one can deny me. |
|
|
| Report Abuse |
|
|
Bambam152
|
  |
| Joined: 30 Jan 2009 |
| Total Posts: 635 |
|
| |
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 05 Aug 2011 03:53 PM |
game:service("BadgeService"):UserHasBadge(game.Players.Bambam152.userId, [Any Asset goes Here)
Will either way return true, if the user has the asset, or false, if he doesn't. |
|
|
| Report Abuse |
|
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
| |
|
|
| 05 Aug 2011 03:55 PM |
| I can't deny you, but what I can do is offer you the fact that, in order to get the VIP badge, they'll have to wear it. He's looking for a way that they NEVER have to wear it. |
|
|
| Report Abuse |
|
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 05 Aug 2011 03:59 PM |
| BadgeService has the access over your inventory too, just put into the method the asset of the T-Shirt, and it will return true if you have bought the T-Shirt. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 05 Aug 2011 04:04 PM |
| 2v1, I guess we won, citymaster. |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 04:29 PM |
| I apologize, i didn't know all of that... |
|
|
| Report Abuse |
|
|