Exports
Server-Side:
exports.pickle_bailbounty:AddBailToRegistry(bail)
--Adds bail entry into registry.
bail: {
source = GetSourceFromIdentifier(bail.identifier),
identifier = bail.identifier, -- Character Identifier
name = bail.name, -- Character Name
image = bail.image or "NO_IMAGE", -- Image
issuer = bail.issuer, -- Issuer identifier
reward = bail.reward, -- Bail amount
description = bail.description, -- Description of bail recipient
startdate = bail.startdate, -- Recommended: os.time()
completiondate = bail.completiondate, -- Recommended: os.time() + (86400 * days)
nextcompliance = bail.nextcompliance, -- Recommended: os.time() + 86400
lastcompliance = bail.lastcompliance, -- Recomended: os.time()
status = bail.status or "compliant",
sentence = bail.sentence or 0,
}exports.pickle_bailbounty:RemoveBailFromRegistry(identifier)
-- Removes identifier's bail entry from the registry.Last updated