Server functions
Things you can use to enhance your experience.
ashop.openMenu(PLAYER)
PLAYER:ashop_addCoinsSafe(amount: Integer, is_premium: Boolean)
ashop.actions.Buy(PLAYER, itemID: Integer, premium_buy: Boolean)
ashop.actions.DeletePlayerItem(PLAYER, plyItemID: Integer)
ashop.actions.DeletePlayerItemRaw(plyItemID: Integer)
ashop.actions.Refund(PLAYER, plyItemID: Integer, ratio: Float[0, 1] )
ashop.actions.Give(PLAYER, item_id: Integer, metadata: nil, price_buy: Integer, premium_buy: Boolean, c: Function(plyitemid))
ashop.actions.GiveOffline(id: SteamID64, itemID: Integer, metadata: nil, price_buy: Integer, t: Integer, premium_buy: Boolean, callback: function(plyitemid), alreadyLogged: Boolean)
ashop.actions.ChangeUserMetadata(PLAYER, plyItemID: Integer, newParams: Table, ignoreUserCheck: Boolean)
Last updated