#No payments
1 messages · Page 1 of 1 (latest)
More Effort Required.
We are here to help you, but please, consider how much effort you are putting into your post.
Please provide information such as:
- What you were doing when the issue occurred
- What you have tried to resolve the issue
- Any error messages you have received
- Any other information you think may be relevant
Please edit your post to include this information, and we will be happy to try help you further.
Hi there 🙂 Please follow the steps below and let me know if this fixes the issue for you:
-
Open
qb-core/server/functions.luain a text editor -
Scroll down to line 398. It should look like this:
if not next(QBCore.Players) then return end
- Replace the line above with the following:
if not next(QBCore.Players) then
SetTimeout(QBCore.Config.Money.PayCheckTimeOut * (60 * 1000), PaycheckInterval) -- Prevent paychecks from stopping forever once 0 players
return
end
The entire PaycheckInterval() function should now look like this
- Restart your server and confirm that employees are now paid correctly