From 820f87374f69a8775ef46901299348146d48e299 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Sat, 24 Aug 2024 00:07:24 +0200 Subject: [PATCH] fix: unused variable --- .../resources/[bpt_addons]/bpt_joblisting/server/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server-data/resources/[bpt_addons]/bpt_joblisting/server/main.lua b/server-data/resources/[bpt_addons]/bpt_joblisting/server/main.lua index 50552687c..1d73ccfb0 100644 --- a/server-data/resources/[bpt_addons]/bpt_joblisting/server/main.lua +++ b/server-data/resources/[bpt_addons]/bpt_joblisting/server/main.lua @@ -23,7 +23,7 @@ end function IsNearCentre(player) local Ped = GetPlayerPed(player) local PedCoords = GetEntityCoords(Ped) - local Zones = Config.Zones + local _ = Config.Zones local Close = false for i = 1, #Config.Zones, 1 do @@ -41,7 +41,7 @@ RegisterServerEvent("bpt_joblisting:setJob") AddEventHandler("bpt_joblisting:setJob", function(job) local source = source local xPlayer = ESX.GetPlayerFromId(source) - local jobs = getJobs() + local _ = getJobs() if xPlayer and IsNearCentre(source) and IsJobAvailable(job) then if ESX.DoesJobExist(job, 0) then