diff --git a/server/functions.lua b/server/functions.lua index 4be4245..79e388c 100644 --- a/server/functions.lua +++ b/server/functions.lua @@ -394,7 +394,7 @@ function QBCore.Functions.CreateVehicle(source, model, vehtype, coords, warp) end 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 return end