From eabfb140868d7fee9b1a91b3257cdf65e3121ac3 Mon Sep 17 00:00:00 2001 From: Stevie <43250308+QBStevie@users.noreply.github.com> Date: Fri, 11 Apr 2025 04:24:56 +0100 Subject: [PATCH] Update functions.lua --- server/functions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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