Client

inDelivery

Checks if a player is in a delivery or not

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
  • data: table

    • {'Big Booty Bandit 1', 'Big Booty Bandit 2', 'Big Booty Bandit 3'}


getMyMarketItems

Returns all my items in a table that are on the market

exports.brazzers_sales:getMyMarketItems()

getCart

Returns all my items in my cart

exports.brazzers_sales:getCart()

getAmountOfOffers

Returns the amount of offers I have on the market

exports.brazzers_sales:getAmountOfOffers()

openMenu

Opens the drug menu

exports.brazzers_sales:openMenu()

closeMenu

Closes the drug menu

exports.brazzers_sales:closeMenu()

Last updated