Exports
Here is a list of all the exports that can be used
#Client
local needs = exports.bm_human_needs:GetNeeds()
print(json.encode(needs, { indent = true}))
--returns: { sleep = value, pee = value, poo = value, dirt = value }local needs = exports.bm_human_needs:GetNeeds()
needs.poo = 50
exports.bm_human_needs:SetNeeds(needs) --Take needs table as argumentexports.bm_human_needs:UpdateNeed('pee', 50) --Set pee value to 50exports.bm_human_needs:StartPee() --Ped starts peeing, it will check pee level firstLast updated