Files
qb-core/server
Kakarot 17da7688f0 Run paychecks in async thread and fix society check
Move the paycheck loop into a CreateThread to avoid blocking the main thread and prevent paychecks from stopping. Add a nil guard for Player and keep existing payment lookup logic. Tighten society payroll logic: check the society account balance before removing funds and still pay employees if the account is zero, avoiding duplicate AddMoney/Notify branches. Add a short Wait(50) between player iterations to yield. Preserve the existing SetTimeout scheduling for the next paycheck run.
2026-04-20 18:58:05 -05:00
..
2025-01-24 19:27:01 +01:00
2023-11-03 09:40:35 -05:00
2023-12-21 20:17:32 +01:00
2025-12-15 05:13:21 +01:00