local activeDelivery = exports.brazzers_sales:inDelivery()
if activeDelivery then
-- do stuff when delivery is active
else
-- do stuff when delivery is inactive
end
getRepAmount
Returns the amount of rep you have in the specific reputation
exports.brazzers_sales:getRepAmount(rep)
rep: string
weed
getAllRep
Gets all your rep in a table
exports.brazzers_sales:getAllRep()
hasSkill
Checks if a player has a specific skill
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
Gets the highest skill from a list of data
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