generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How to check if a user has a certain badge?

Previous Thread :: Next Thread 
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
01 Feb 2015 12:10 AM
Like the title says, I want to check to see if the user has a badge or not. Anyone have a wiki article?
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
01 Feb 2015 12:11 AM
Google "roblox check if user has badge"
Report Abuse
IAmThe0nly0ne is not online. IAmThe0nly0ne
Joined: 01 Feb 2014
Total Posts: 770
01 Feb 2015 12:12 AM
http://wiki.roblox.com/index.php?title=API:Class/BadgeService/UserHasBadge
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
01 Feb 2015 12:24 AM
thanks @IAm
Report Abuse
Seranok is not online. Seranok
Joined: 12 Dec 2009
Total Posts: 11083
01 Feb 2015 12:25 AM
Hint: if your exact question could be answered by searching ROBLOX + the title of your thread, you can get faster results with Google.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
01 Feb 2015 12:53 AM
I would use this instead because it doesn't catch
http://wiki.roblox.com/index.php?title=API:Class/MarketplaceService/PlayerOwnsAsset
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
01 Feb 2015 01:08 AM
^
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
01 Feb 2015 01:43 AM
What I said was actually a really broad statement now that I think about it

In most cases I can think of you want it to not catch, but maybe you did want that
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
01 Feb 2015 10:00 AM
Yeah I search 99% of things on google and find the answer rather quickly but for some reason after trying several search combinations I couldn't find what I was looking for. Maybe because it was 2 in the morning..
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
01 Feb 2015 10:20 AM
I prefer site:roblox.com when I'm trying to search the forums since we all know the search bar we have is crap.

What do you mean by catching, 128GB?
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
01 Feb 2015 10:43 AM
UserId 1 does not have badge 12345
userHasBadge(12345, 1) -->false

userId 1 gets badge 12345
userHasBadge(12345, 1) -->still false because it saved the result from last time
Report Abuse
maxomega3 is not online. maxomega3
Joined: 11 Jun 2010
Total Posts: 10668
01 Feb 2015 10:44 AM
o wow
then yeah, the OP would probably want the one in MarketplaceService
Report Abuse
doneyes is not online. doneyes
Joined: 21 Mar 2008
Total Posts: 3466
01 Feb 2015 01:12 PM
Yes, and it's working great. Thank you
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image