mirror of
https://github.com/qbcore-fivem/qb-core.git
synced 2026-08-29 01:08:57 +00:00
Update functions.lua
This commit is contained in:
@@ -396,7 +396,7 @@ end
|
|||||||
function PaycheckInterval()
|
function PaycheckInterval()
|
||||||
if not next(QBCore.Players) then
|
if not next(QBCore.Players) then
|
||||||
SetTimeout(QBCore.Config.Money.PayCheckTimeOut * (60 * 1000), PaycheckInterval) -- Prevent paychecks from stopping forever once 0 players
|
SetTimeout(QBCore.Config.Money.PayCheckTimeOut * (60 * 1000), PaycheckInterval) -- Prevent paychecks from stopping forever once 0 players
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
for _, Player in pairs(QBCore.Players) do
|
for _, Player in pairs(QBCore.Players) do
|
||||||
if not Player then return end
|
if not Player then return end
|
||||||
|
|||||||
Reference in New Issue
Block a user