Money and jobs
All entries are in editable/framework.lua. They are built in for the built-in adapters
(Qbox, QBCore, ESX, ox_core, ND_Core, vRP); override them only if your core works differently.
| Entry | Receives | Returns |
|---|---|---|
addMoney | src, account ('cash'/'bank'), amount | true / false |
removeMoney | src, account, amount | true / false (e.g. not enough money) |
setJob | src, job, grade | true, or false, 'reason' |
moneyEvents | — | List of server events that move money; changes during them are tagged with the event name in Economy → Money changes. |
EditableServer.moneyEvents = { custom = true, fn = function() return { 'my_shops:server:buyItem', 'my_garages:server:payImpound' } end,}