MewsitiveJoin Date: 2012-06-05 Post Count: 2100 |
game:GetService("BadgeService"):UserHasBadge(Player.userId, BadgeId)
So basically, I was always using this line to verify if the player own the asset(Such as badge, game passes, etc...), which has worken since litterally the first day I've started developing, now guess what today, I don't get the reason of these changes but now only badges works for it now.
I don't understand the reason for this update, I've always used this to verify if the user own a game pass, now because of this update, all of the game passes of my games are broken...???????????????????????
Recoding something because of some pointless changes... That's amazing. :')))))????????????????
Meeooow!!!!!!13!!! |
|
doot_d0otJoin Date: 2012-10-26 Post Count: 1709 |
That's Roblox for ya
--Even duct tape can't fix stupid |
|
MewsitiveJoin Date: 2012-06-05 Post Count: 2100 |
Roblox has done things that has broken things in my game, but not something as fustrating as this(In my opinion), I do hope this changes get reverted because I don't know which code to use for any asset.
Meeooow!!!!!!13!!! |
|
MewsitiveJoin Date: 2012-06-05 Post Count: 2100 |
Maybe this could works????
game:GetService("MarketplaceService"):PlayerOwnsAsset(Player.userId, ItemId)
Meeooow!!!!!!13!!! |
|
AnakurakJoin Date: 2011-07-31 Post Count: 164 |
Welcome to roblox, enjoy your stay
~What do you mean i'm exploding? |
|
doot_d0otJoin Date: 2012-10-26 Post Count: 1709 |
Personally, I use
local function onClick()
if GamePassService:PlayerHasPass(plr, passid) then
--function_name()
else
game:GetService("MarketplaceService"):PromptPurchase(plr, passid)
end
end
script.Parent.MouseButton1Down:connect(onClick)
--Even duct tape can't fix stupid |
|
MewsitiveJoin Date: 2012-06-05 Post Count: 2100 |
I feel so stupid bcuz the new method im using doesnt need ".userId" lol
Meeooow!!!!!!13!!! |
|
|
try something new then.
♡Daria♡ |
|
MewsitiveJoin Date: 2012-06-05 Post Count: 2100 |
I have no choice to use bren's method
Meeooow!!!!!!13!!! |
|
MewsitiveJoin Date: 2012-06-05 Post Count: 2100 |
Looking at what he has posted on the forum, it look like he just searched from a random free model then posted it here.
but owell, who care
Meeooow!!!!!!13!!! |
|
MewsitiveJoin Date: 2012-06-05 Post Count: 2100 |
Wait screw his method,
I've found a better solution
Meeooow!!!!!!13!!! |
|
NxtellaJoin Date: 2014-01-05 Post Count: 3329 |
roblox should be fixing more major things rather than these minor updates like guest permissions, codes in games, site layouts
like seriously
lydia ♡ / umpc |
|
|
You were all notified of this update in the devforums on May 1st. If you do not keep up with updates, do not complain when you are surprised they happen.
|
|
NxtellaJoin Date: 2014-01-05 Post Count: 3329 |
not everybody checks the dev forums though :l
lydia ♡ / umpc |
|
|
you dont have to check it, but they give everyone plenty of warning before making big updates if they suspect it'll break games. you cant ask more from them.
|
|
MewsitiveJoin Date: 2012-06-05 Post Count: 2100 |
I'm not even in the devforum, I barely develop as much as I used to, what do you expect? This is something I have to fix since my players has spend moneys on my game.
Meeooow!!!!!!13!!! |
|
MewsitiveJoin Date: 2012-06-05 Post Count: 2100 |
I just checked, i knew userownasset was made so badge wouldnt works for it, but i didnt knew they'd update it so userhasbadge would ONLY works on badges now... rip
Meeooow!!!!!!13!!! |
|
doot_d0otJoin Date: 2012-10-26 Post Count: 1709 |
I did not use a random free model, that's the actual script I use in my game for gamepasses...
--Even duct tape can't fix stupid |
|