1
0
Fork 0
forked from Simnation/Main
This commit is contained in:
Nordi98 2025-07-02 06:24:51 +02:00
parent 3b8d723c2b
commit 1a535451da
2 changed files with 4 additions and 4 deletions

View file

@ -102,7 +102,7 @@
<Item>trailersmall</Item> <Item>trailersmall</Item>
<Item>bigbbqtrailer</Item> <Item>bigbbqtrailer</Item>
<Item>smallbbqtrailer</Item> <Item>smallbbqtrailer</Item>
<Item>boattrailer3</Item> <Item>boattrailer6</Item>
<Item>chauler</Item> <Item>chauler</Item>
<Item>bcthauler2</Item> <Item>bcthauler2</Item>
<Item>bchvylight</Item> <Item>bchvylight</Item>

View file

@ -13,7 +13,7 @@ local boatOnTrailer = false
local function getTrailerOffset(trailer) local function getTrailerOffset(trailer)
local model = GetEntityModel(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 return vector3(0.0, 1.5, 0.3) -- Angepasste Werte für yftrailer
else else
return vector3(0.0, 1.8, 0.0) -- Original boattrailer Werte return vector3(0.0, 1.8, 0.0) -- Original boattrailer Werte
@ -22,7 +22,7 @@ end
local function getBoatAttachmentOffset(trailer) local function getBoatAttachmentOffset(trailer)
local model = GetEntityModel(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 return vector3(0.0, -1.0, 0.25) -- Angepasste Werte für yftrailer
else else
return vector3(0.0, -1.02, 0.3) -- Original boattrailer Werte return vector3(0.0, -1.02, 0.3) -- Original boattrailer Werte
@ -39,7 +39,7 @@ end
local function isTrailer(vehicle) local function isTrailer(vehicle)
local model = GetEntityModel(vehicle) local model = GetEntityModel(vehicle)
return model == `boattrailer` or model == `boattrailer3` return model == `boattrailer` or model == `boattrailer6`
end end
local function getClosestVehicle(coords, maxDistance) local function getClosestVehicle(coords, maxDistance)