Config
Qbox PAYCHECK
To Enable paychecks for qbox follow this instructions
Navigate to qbx_core/config/server.lua
replace sendPaycheck
sendPaycheck = function (player, payment)
player.Functions.AddMoney('bank', payment)
Notify(player.PlayerData.source, locale('info.received_paycheck', payment))
TriggerEvent('qbx_core:server:onPaycheck', player.PlayerData.source, payment)
end,by
sendPaycheck = function (player, payment)
local job = player.PlayerData.job
local key = ('%s:%s:%s'):format(player.PlayerData.citizenid, os.time(), payment)
exports['stormix-banking']:queuePaycheck(player.PlayerData.citizenid, payment, job.label or job.name, key)
Notify(player.PlayerData.source, 'Your paycheck is ready to claim at the bank')
end,The paycheck timeout is managed by paycheckTimeout in the same file
paycheckTimeout = 10,paycheck payment is managed by the core in shared/jobs.lua https://github.com/Qbox-project/qbx_core/blob/main/shared/jobs.lua