|
| 11 Aug 2015 09:33 PM |
| Is there any way to tell if a player has an ID if the player is not in the game? PlayerOwnsAsset requires a player object, and PlayerHasBadge doesn't work if the player isn't in the server. |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2015 09:40 PM |
| http://wiki.roblox.com/index.php?title=API:Class/BadgeService/UserHasBadge |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2015 09:47 PM |
@nQ That's what I meant. It doesn't fire correctly unless the player's ID it is referring to is in the server. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 11 Aug 2015 09:49 PM |
| ye, i don't think there is a method created by roblox yet for this, but i could be wrong |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2015 09:59 PM |
| What do you mean it doesn't "fire"? You have to call it with the userId and badgeId of the player. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 11 Aug 2015 10:00 PM |
OP wants to be able to check if they own the badge even if the player isn't in game
not sure if you can do that yet, correct me if i'm wrong though |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2015 10:05 PM |
yes, you can i just said
you call it with the userId of the player that you want to check |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 11 Aug 2015 10:08 PM |
OP said you can't if the provided player with the userId isn't in the server but ok
i may test this out later
|
|
|
| Report Abuse |
|
|