Hello Developers.
Can I use PlayerOwnsAsset without using Player as Instance I mean only ID. [It will check if you own t-shirt]
Hello Developers.
Can I use PlayerOwnsAsset without using Player as Instance I mean only ID. [It will check if you own t-shirt]
Maybe you could try getting the Player from the UserId:
I need verify if place owner have this t-shirt without joining a server is it possible?
That would still not work if a player is not in game. This is more intended for using it in MarketplaceService.ProcessReceipt
callback.
@OP no, you cannot. Documentation says you can only use a player instance. What is your use-case though?
Well I thought there were any ways. Thanks for answer.
Maybe you could use inventory API to get list of owners of the tshirt and check if one of them matches the players UserId.
Mhm same idea. Already doing it. Anyway thanks