diff --git a/resources/[cars]/[policecars]/2023pdtruck/data/vehicles.meta b/resources/[cars]/[policecars]/2023pdtruck/data/vehicles.meta
index e76ef4209..2d68545af 100644
--- a/resources/[cars]/[policecars]/2023pdtruck/data/vehicles.meta
+++ b/resources/[cars]/[policecars]/2023pdtruck/data/vehicles.meta
@@ -102,7 +102,7 @@
- trailersmall
- bigbbqtrailer
- smallbbqtrailer
- - boattrailer3
+ - boattrailer6
- chauler
- bcthauler2
- bchvylight
diff --git a/resources/[carscripts]/re_boat_winch/main.lua b/resources/[carscripts]/re_boat_winch/main.lua
index 7209f2e89..10a9ee62c 100644
--- a/resources/[carscripts]/re_boat_winch/main.lua
+++ b/resources/[carscripts]/re_boat_winch/main.lua
@@ -13,7 +13,7 @@ local boatOnTrailer = false
local function getTrailerOffset(trailer)
local model = GetEntityModel(trailer)
- if model == `yftrailer` then
+ if model == `boattrailer6` then
return vector3(0.0, 1.5, 0.3) -- Angepasste Werte für yftrailer
else
return vector3(0.0, 1.8, 0.0) -- Original boattrailer Werte
@@ -22,7 +22,7 @@ end
local function getBoatAttachmentOffset(trailer)
local model = GetEntityModel(trailer)
- if model == `yftrailer` then
+ if model == `boattrailer6` then
return vector3(0.0, -1.0, 0.25) -- Angepasste Werte für yftrailer
else
return vector3(0.0, -1.02, 0.3) -- Original boattrailer Werte
@@ -39,7 +39,7 @@ end
local function isTrailer(vehicle)
local model = GetEntityModel(vehicle)
- return model == `boattrailer` or model == `boattrailer3`
+ return model == `boattrailer` or model == `boattrailer6`
end
local function getClosestVehicle(coords, maxDistance)