⚙️Insurance Config

Explore our dynamic Insurance system, offering customizable pricing based on vehicle value and protection against losses.

Config.UseInsuranceVehiclePricePercentage = true
Config.InsuranceVehiclePricePercentage = 0.05

This setting determines the insurance price as a percentage of the vehicle's original sale, currently configured at 5%. If this is set to false it will take the value from

Config.Insurance[i].standardPrice = 1000.00
location.markerLocation = vector3(-837.11,-273.56,38.80),
location.minZ = 35.50,
location.maxZ = 42.00,
location.insurancePoly = {
    [1] = vector2(-836.63, -284.19),
    [2] = vector2(-849.19, -276.22),
    [3] = vector2(-840.36, -269.41),
    [4] = vector2(-832.27, -275.8)
}
  • markerLocation: This setting designates the marker location for accessing the impounding form.

  • minZ & maxZ: These settings determine the polyzone's minimum and maximum height. Recommended values are minZ -3 from the putInMarkerLocation.z and maxZ + 10 of the putInMarkerLocation.z for accuracy.

  • PolyZone: This setting generates the polyzone, typically configured with 4 locations to create a box-like shape.

Last updated

Was this helpful?