Hello, Im new to qbcore (please be gentle), Im trying to have jobs that are listed in qb-management, pay for salaries from management funds. However it is not pulling from the management funds. I was wondering if anyone was able to figure out how to make it actually pull it from the business acounts, instead of just giving the players funds. (jobs like police, ambulance, mechanics, burgershot, etc)
below is the example from my qb-core/server/functions.lua
Hi! QBCore use two files for handle gangs and job; you need to add here all the levels of each job and their respective salaries…
You need to search this file: qb-core/shared/jobs.lua
And, due you say you want to use the money from the society for the payment, you need to set QBConfig.Money.PayCheckSociety = true on qb-core/config.lua:
I found the fix for the paycheck if using qb-management. Need to replace the original trigger event for qb-bossmenu (under the paycheckloop function) and insert the following line in its place. It perfectly pulls funds from the management_funds table to give realistic RP.