Hello, "MediumCar" is missing in the config file
Here is what to add directly to the .cs file .
Remember to remove the config and lang file before making this change.
Like this from line 1883 just before ["LargeCar"] in .cs file:
Here is what to add directly to the .cs file .
Remember to remove the config and lang file before making this change.
Like this from line 1883 just before ["LargeCar"] in .cs file:
["MediumCar"] = new ModularVehicleS
{
purchasable = true,
displayName = "Small Modular Car",
distance = 5,
usePermission = true,
permission = "vehiclelicence.Mediummodularcar",
commands = new List<string> { "medium", "mediumcar" },
purchasePrices = new Dictionary<string, PriceInfo>
{
["scrap"] = new PriceInfo { amount = 1600, displayName = "Scrap" }
},
spawnPrices = new Dictionary<string, PriceInfo>
{
["metal.refined"] = new PriceInfo { amount = 10, displayName = "High Quality Metal" }
},
recallPrices = new Dictionary<string, PriceInfo>
{
["scrap"] = new PriceInfo { amount = 5, displayName = "Scrap" }
},
spawnCooldown = 7200,
recallCooldown = 30,
cooldownPermissions = new Dictionary<string, PermissionS>
{
["vehiclelicence.vip"] = new PermissionS
{
spawnCooldown = 3600,
recallCooldown = 10,
}
},
chassisType = ChassisType.Small,
moduleItems = new List<ModuleItem>
{
new ModuleItem
{
shortName = "vehicle.1mod.cockpit.with.engine" ,healthPercentage = 50f
},
new ModuleItem
{
shortName = "vehicle.1mod.rear.seats" ,healthPercentage = 50f
},
new ModuleItem
{
shortName = "vehicle.1mod.flatbed" ,healthPercentage = 50f
},
},
engineItems = new List<EngineItem>
{
new EngineItem
{
shortName = "carburetor2",conditionPercentage = 20f
},
new EngineItem
{
shortName = "crankshaft2",conditionPercentage = 20f
},
new EngineItem
{
shortName = "piston2",conditionPercentage = 20f
},
new EngineItem
{
shortName = "sparkplug2",conditionPercentage = 20f
},
new EngineItem
{
shortName = "valve2",conditionPercentage = 20f
}
}
},