Skip to content

Commit

Permalink
fix: esx_contract\server\main.lua unused variable xPlayer
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Dec 2, 2024
1 parent e060423 commit 57868b9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---@diagnostic disable: undefined-global, unused-local
---@diagnostic disable: undefined-global
ESX = exports["es_extended"]:getSharedObject()

RegisterServerEvent("esx_clothes:sellVehicle")
Expand Down Expand Up @@ -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)

0 comments on commit 57868b9

Please sign in to comment.