Server
job is the society name, such as police. Pass that name, not a prefixed account id.
GetSocietyMoney
Parameters
jobstring
Returns
number|nil — nil when no society provider is selected.
Example
local balance = Bridge.GetSocietyMoney('police')
print(balance or 0)AddSocietyMoney
Parameters
jobstringamountnumberreasonstring— optional. qb-banking stores it. Other society scripts ignore it.
Returns
boolean
Example
if Bridge.AddSocietyMoney('police', 500, 'fine') then
print(Bridge.GetSocietyMoney('police'))
endRemoveSocietyMoney
Parameters
jobstringamountnumberreasonstring— optional. Same rule as add.
Returns
boolean
Example
if not Bridge.RemoveSocietyMoney('police', 100, 'payroll') then
return
end