SelectOfferInfo

TPPersonalizedOffer.SelectOfferInfo(userId, language)

Description

SelectOfferInfo retrieves information about the valid offers currently available within the client’s database by descending order of creation date.

It also returns the following data:

500

Parameters

Name Description Required

UserId

Player’s unique user ID (not a character’s ID) that is given by Roblox: Player.UserId

Required

language

Two-letter language code that you set up in personalized offer console

Required

Code example

local response = TPPersonalizedOffer.SelectOfferInfo(player.UserId,"EN")

warn("SelectOfferInfo Callback: ", response)