Skip to content

Commit

Permalink
Merge pull request #959 from bitpredator/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
bitpredator authored Jan 18, 2025
2 parents cf03a4b + a46186e commit 91c2a00
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions server-data/resources/[esx]/pushvehicle/client/main.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---@diagnostic disable: undefined-global
local AttachEntityToEntity = AttachEntityToEntity
local GetEntityCoords = GetEntityCoords
local GetEntityModel = GetEntityModel
Expand Down Expand Up @@ -345,9 +346,9 @@ if Config.target then
for i = 1, #options do
options[i].bones = { "bonnet", "boot" }
end
exports[targetSystem]:addGlobalVehicle(options)
exports.ox_target:addGlobalVehicle(options)
else
exports[targetSystem]:addGlobalVehicle(options)
exports.ox_target:addGlobalVehicle(options)
end
elseif targetSystem == "qb-target" then
if Config.Usebones then
Expand Down
1 change: 1 addition & 0 deletions server-data/resources/[esx]/pushvehicle/server/main.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---@diagnostic disable: undefined-global
local pushing = {}
local beingpushed = {}
local skilltrack = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function _U(entry)
end

local function IsPoliceJob(job)
for k, v in pairs(Config.PoliceJob) do
for _, v in pairs(Config.PoliceJob) do
if job == v then
return true
end
Expand All @@ -15,7 +15,7 @@ local function IsPoliceJob(job)
end

local function IsDispatchJob(job)
for k, v in pairs(Config.PoliceAndAmbulance) do
for _, v in pairs(Config.PoliceAndAmbulance) do
if job == v then
return true
end
Expand Down
1 change: 0 additions & 1 deletion server-data/resources/[ox]/ox_inventory/data/shops.lua
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ return {
{ name = "burger", price = 70 },
{ name = "fishingrod", price = 100 },
{ name = "fishbait", price = 80 },
{ name = "panettone", price = 40 },
},
locations = {
vec3(25.846155, -1346.782471, 29.482056),
Expand Down

0 comments on commit 91c2a00

Please sign in to comment.