From e772426c49106acbc16105798668f3766a785ce5 Mon Sep 17 00:00:00 2001 From: ShangYi7 <130765315+ShangYi7@users.noreply.github.com> Date: Wed, 16 Apr 2025 20:08:28 +0800 Subject: [PATCH] Update functions.lua Remove spaces at the end of lines 398 and 400 of `server/functions.lua` --- server/functions.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/functions.lua b/server/functions.lua index a7f203a..c5af238 100644 --- a/server/functions.lua +++ b/server/functions.lua @@ -395,9 +395,9 @@ 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 + return end for _, Player in pairs(QBCore.Players) do if not Player then return end