Server
getRepAmount
getRepAmountexports.brazzers_sales:getRepAmount(source, rep)source:
int1
rep:
stringweed
addRep
addRepexports.brazzers_sales:addRep(source, rep, amount, chance)source:
int1
rep:
stringweed
amount:
int10
chance:
int10
removeRep
removeRepexports.brazzers_sales:removeRep(source, rep, amount, chance)source:
int1
rep:
stringweed
amount:
int10
chance:
int10
addRepByItem
addRepByItemexports.brazzers_sales:addRepByItem(source, item, amount, chance)source:
int1
item:
stringjoint
amount:
int10
chance:
int10
removeRepByItem
removeRepByItemexports.brazzers_sales:removeRepByItem(source, item, amount, chance)source:
int1
item:
stringjoint
amount:
int10
chance:
int10
hasSkill
hasSkilllocal skill = 'Big Booty Bandits'
local active = exports.brazzers_sales:hasSkill(source, skill)
if active then
-- Do stuff when has skill
else
-- Do stuff when you don't have the skill-
endsource:
int1
skill:
stringBig Booty Bandit
getHighestSkill
getHighestSkilllocal data = {'Big Booty Bandit 1', 'Big Booty Bandit 2', 'Big Booty Bandit 3'}
local highest = exports.brazzers_sales:getHighestSkill(source, 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
endsource:
int1
data:
table{'Big Booty Bandit 1', 'Big Booty Bandit 2', 'Big Booty Bandit 3'}
unlockSkill
unlockSkilllocal name = 'Big Booty Bandit 1'
local unlock = exports.brazzers_sales:unlockSkill(source, name)
if unlock then
-- Do stuff when the skill unlocks
else
-- Do stuff if it doesn't unlock
endsource:
int1
name:
stringBig Booty Bandit 1
lockSkill
lockSkilllocal name = 'Big Booty Bandit 1'
local lock = exports.brazzers_sales:unlockSkill(lockSkill, name)
if lock then
-- Do stuff when the skill locks
else
-- Do stuff if it doesn't lock
endsource:
int1
name:
stringBig Booty Bandit 1
getMyMarketItems
getMyMarketItemsexports.brazzers_sales:getMyMarketItems(source)source:
int1
getCart
getCartexports.brazzers_sales:getCart(source)source:
int1
getAmountOfOffers
getAmountOfOffersexports.brazzers_sales:getAmountOfOffers(source)source:
int1
Last updated