Purchasing

You can see some purchasing functions

PLAYER:AASBuyItem(uniqueId)

Buy an accessory

Types

Arguments

Descriptions

Optional

uniqueId

The item uniqueId to purchase

PLAYER:AASIsBought(uniqueId)

Return if the player have bought an item

Types

Arguments

Descriptions

Optional

uniqueId

The item uniqueId to check

AAS.GiveItem(steamId64, uniqueId, price)

Give an item to the player

Types

Arguments

Descriptions

Optional

steamId64

The player steamid64 who you want to create the accessory

uniqueId

The item uniqueId to give

price

The item price (used for the sell)

✔️ (default: 0)

PLAYER:AASSellItem(uniqueId)

Sell an accessory

Types

Arguments

Descriptions

Optional

uniqueId

The item uniqueId to sell

Return :

Types

Parameters

Descriptions

haveBought

If the player have bought the item

Last updated

Was this helpful?