fixing spikes and tow stretcher scripts

This commit is contained in:
KingMcDonalds
2025-10-19 18:45:29 -07:00
parent b139614b10
commit 03cbedfd82
3 changed files with 1658 additions and 1 deletions
File diff suppressed because it is too large Load Diff
@@ -16,7 +16,18 @@ Config.VehiclesWithStretchers = {
{hash = "ukambu1", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
{hash = "ukambu2", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
-- {hash = "your_ambulance", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
-- Add more here.
{hash = "lafdrambulance", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
{hash = "rambulance", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
{hash = "24ramambo", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
{hash = "e350vanb", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
{hash = "e450ambo", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
{hash = "20ramambo", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
{hash = "ALSrescue1", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
{hash = "f250ambo", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
{hash = "fdgator", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
{hash = "medic22", behindVehicle = -6.0, sideways = 0.0, depth = -1.5, height = 0.28},
}
Config.ShowSavedScreen = true -- Shows victim saved in GTA style, when dropping off a victim.
@@ -96,4 +96,452 @@ Config.TowVehicles = {
-- }
-- }
-- },
[`csdotlowboy`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`towy`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`lgc19flatbed`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`lowboy`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`rollback1`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`rollback14`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`gtrailer`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`newopen1`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`rrtrailer`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`legacytrailer`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`loadtrail`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`dylans40`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`bcbloomer`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`yftrailer`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`semihauler`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`eagerbeaver`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`bcf`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`opentrailer`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`octanetrailer`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`merchtailer`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`haulmarkv2`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`haulmarkenclosed`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`freightstacker`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[` dc_lift1`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`carhaulsm`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`flatbed2`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`tow`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`thauler`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`ehauler`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`48enclosed`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`shauler`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`bcloadtrail`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`cargomate`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`carhaulsm`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`flatbed2ramber`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`flatbed3amber`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
[`21tacouc`] = {
enginePowerMultiplier = 10.0, -- Required for some tow trucks to have more power to pull heavy vehicles.
winchAnchorOverride = {
enabled = true, -- If false, the script will use the default tow anchor position. (Which is using the suspension or wheel bones)
left = {
{ bone = "suspension_lr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
},
right = {
{ bone = "suspension_rr", leftRight = 0.0, forwardBack = 0.0, upDown = 0.0 },
}
}
},
}