player:vipItems
player:vipItems(): { [string]: string }
Returns the VIP items owned by the player's account.
Returns#
{ [string]: string }: item code to category, for example { golden_broom = "broom" }. Empty if the list has not arrived yet, without a master, or if the server refuses VIP items.
Example#
on("vip", function(player)
for code, category in player:vipItems() do
log(player.name, "owns", code, "(" .. category .. ")")
end
end)