Skip to content

Commit

Permalink
chore: update exports methods
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed Jan 18, 2025
1 parent 22540ae commit a46186e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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

0 comments on commit a46186e

Please sign in to comment.