From 57868b98cf0926cea87af9a6ca80518337f2de34 Mon Sep 17 00:00:00 2001 From: bitpredator <67551273+bitpredator@users.noreply.github.com> Date: Mon, 2 Dec 2024 12:28:48 +0100 Subject: [PATCH] fix: esx_contract\server\main.lua unused variable xPlayer --- .../resources/[esx_addons]/esx_contract/server/main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server-data/resources/[esx_addons]/esx_contract/server/main.lua b/server-data/resources/[esx_addons]/esx_contract/server/main.lua index 5d9a8c2d..fe1b2354 100644 --- a/server-data/resources/[esx_addons]/esx_contract/server/main.lua +++ b/server-data/resources/[esx_addons]/esx_contract/server/main.lua @@ -1,4 +1,4 @@ ----@diagnostic disable: undefined-global, unused-local +---@diagnostic disable: undefined-global ESX = exports["es_extended"]:getSharedObject() RegisterServerEvent("esx_clothes:sellVehicle") @@ -34,6 +34,6 @@ end) ESX.RegisterUsableItem("contract", function(source) local _source = source - local xPlayer = ESX.GetPlayerFromId(_source) + local _ = ESX.GetPlayerFromId(_source) TriggerClientEvent("esx_contract:getVehicle", _source) end)