Client
inDelivery
inDelivery
local activeDelivery = exports.brazzers_sales:inDelivery()
if activeDelivery then
-- do stuff when delivery is active
else
-- do stuff when delivery is inactive
end
getRepAmount
getRepAmount
exports.brazzers_sales:getRepAmount(rep)
rep:
string
weed
getAllRep
getAllRep
exports.brazzers_sales:getAllRep()
hasSkill
hasSkill
local skill = 'Big Booty Bandits'
local active = exports.brazzers_sales:hasSkill(skill)
if active then
-- Do stuff when has skill
else
-- Do stuff when you don't have the skill-
end
skill:
string
Big Booty Bandit
getHighestSkill
getHighestSkill
local data = {'Big Booty Bandit 1', 'Big Booty Bandit 2', 'Big Booty Bandit 3'}
local highest = exports.brazzers_sales:getHighestSkill(data)
-- If I have BBB1 and BBB3, it'll return BBB3 because its the highest I have.
-- Highest is determined by the order the data is in that I give the export.
if highest == 'Big Booty Bandit 3' then
-- Do stuff cause im a BBB3
end
data:
table
{'Big Booty Bandit 1', 'Big Booty Bandit 2', 'Big Booty Bandit 3'}
getMyMarketItems
getMyMarketItems
exports.brazzers_sales:getMyMarketItems()
getCart
getCart
exports.brazzers_sales:getCart()
getAmountOfOffers
getAmountOfOffers
exports.brazzers_sales:getAmountOfOffers()
openMenu
openMenu
exports.brazzers_sales:openMenu()
closeMenu
closeMenu
exports.brazzers_sales:closeMenu()
Last updated