forked from Simnation/Main
ed
This commit is contained in:
parent
3b8d723c2b
commit
1a535451da
2 changed files with 4 additions and 4 deletions
|
@ -102,7 +102,7 @@
|
|||
<Item>trailersmall</Item>
|
||||
<Item>bigbbqtrailer</Item>
|
||||
<Item>smallbbqtrailer</Item>
|
||||
<Item>boattrailer3</Item>
|
||||
<Item>boattrailer6</Item>
|
||||
<Item>chauler</Item>
|
||||
<Item>bcthauler2</Item>
|
||||
<Item>bchvylight</Item>
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue