From 54b4dcf9be0a8feb6592ca255befcd8261d6d2b6 Mon Sep 17 00:00:00 2001 From: Matthew <22198949+MafewTM@users.noreply.github.com> Date: Tue, 5 Dec 2023 22:41:34 -0500 Subject: [PATCH 1/3] fix: spawn vehicles in player routing bucket --- modules/utils.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/utils.lua b/modules/utils.lua index 21ec2d6e5..f927cb806 100644 --- a/modules/utils.lua +++ b/modules/utils.lua @@ -200,6 +200,8 @@ if isServer then local vehicleType = GetVehicleType(tempVehicle) DeleteEntity(tempVehicle) + local bucket = GetPlayerRoutingBucket(source) + local ped = GetPlayerPed(source) if not coords then coords = GetCoordsFromEntity(ped) @@ -215,6 +217,8 @@ if isServer then Wait(0) end + SetEntityRoutingBucket(veh, bucket) + if warp then SetPedIntoVehicle(ped, veh, -1) end local owner = lib.waitFor(function() From 78be6351949bf439ddfff267c0aaad03dba81ea6 Mon Sep 17 00:00:00 2001 From: Matthew <22198949+MafewTM@users.noreply.github.com> Date: Tue, 5 Dec 2023 23:05:51 -0500 Subject: [PATCH 2/3] fix: require artifact version 7186 --- fxmanifest.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/fxmanifest.lua b/fxmanifest.lua index 467666c7f..56f2f298e 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -56,6 +56,7 @@ files { } dependencies { + '/server:7186', 'ox_lib', 'oxmysql', } From fde5a93ade633f9eb6805d2ee29ae6c20e71f88f Mon Sep 17 00:00:00 2001 From: Matthew <22198949+MafewTM@users.noreply.github.com> Date: Tue, 5 Dec 2023 23:07:16 -0500 Subject: [PATCH 3/3] fix: require onesync --- fxmanifest.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/fxmanifest.lua b/fxmanifest.lua index 56f2f298e..d3c274d3c 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -57,6 +57,7 @@ files { dependencies { '/server:7186', + '/onesync', 'ox_lib', 'oxmysql', }