Much like in 'Trade Hangout', I need to make a script that detects if a player owns a certain hat on the website. The catch is that the player does not necessarily have to be wearing the hat in the game.
We know that it can be done with limited hats & gear because we can see it on 'Trade Hangout'. However, I was wondering if it could be done for non-limited items too.
If you could shed some light on this topic I would greatly appreciate it!
Here are your options:
http://wiki.roblox.com/index.php?title=UserHasBadge_(Method)
http://wiki.roblox.com/index.php?title=PlayerOwnsAsset_(Method)
PlayerOwnsAsset method is preferred, though.
NOTE: I believe Trade Hangout uses HTTPService to actually get the information what hats the player owns rather than going through a huge list of numbers.