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-04-10 23:17:27 +01:00
2025-03-13 15:50:32 -05:00
2025-04-15 23:14:35 +08:00
2024-10-22 15:06:17 -07:00
2021-09-14 23:20:11 +02:00
2022-04-13 07:43:54 -05:00
2022-09-29 11:06:31 -05:00

qb-core

Official QBCore Documentation

License

QBCore Framework
Copyright (C) 2015-2022 ESX (Jérémie N'gadi), Joshua Eger

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>
S
Description
FiveM RP Framework Core 💪
Readme GPL-3.0 4.2 MiB
Languages
Lua 98.2%
JavaScript 1.1%
CSS 0.6%
HTML 0.1%