--//Limits//--
if InductionPartSize < 0 then
	InductionPartSize  = 0
elseif InductionPartSize > 5 then
	InductionPartSize = 5
end

if WeightDistribution < 0 then
	WeightDistribution  = 0
elseif WeightDistribution  > 100 then
	WeightDistribution = 100
end

if SteeringAngle > 120 then
	SteeringAngle = 120
elseif SteeringAngle < 20 then
	SteeringAngle = 20
end

if TiresFront > 3 then
	TiresFront = 3
elseif TiresFront < 1 then
	TiresFront = 1
end

if TiresRear  > 3 then
	TiresRear  = 3
elseif TiresRear  < 1 then
	TiresRear  = 1
end

if DownforceF < 0 then
	DownforceF = 0
elseif DownforceF > 5 then
	DownforceF  = 5
end

if DownforceR  < 0 then
	DownforceR  = 0
elseif DownforceR  > 5 then
	DownforceR   = 5
end

if EngineType == "Electric" then
	TransmissionType = "Automatic"
	InductionPartSize = 0
end

if BrakeBias > 100 then
	BrakeBias  = 100
elseif BrakeBias  < 0 then
	BrakeBias = 0
end

if SteerSpeed > 0.1 then
	SteerSpeed = 0.1
elseif SteerSpeed < 0.02 then
	SteerSpeed = 0.02
end

if BrakePower > 100 then
	BrakePower = 100
elseif BrakePower < 0 then
	BrakePower = 0
end

if AmountOfGears > 8 then
	AmountOfGears  = 8
elseif AmountOfGears < 1 then
	AmountOfGears = 1
end

if TransmissionType ~= "HPattern" and TransmissionType ~= "Automatic" and TransmissionType ~= "DualClutch" and TransmissionType ~= "CVT" then
TransmissionType = "Automatic"
end

if Drivetrain ~= "AWD" and Drivetrain ~= "FWD" and Drivetrain ~= "RWD" then
	Drivetrain = "FWD"
end

if TorqueSplit > 100 then
	TorqueSplit = 100
elseif TorqueSplit < 0 then
	TorqueSplit = 0
end

if Drivetrain == "RWD" then
	TorqueSplit = 100
	DifferentialF = 0
elseif Drivetrain == "FWD" then
	TorqueSplit = 0
	DifferentialR = 0
	DifferentialF = 0
end

if DifferentialF > 1 then
	DifferentialF  = 1
elseif DifferentialF < 0 then
	DifferentialF = 0
end

if DifferentialR > 1 then
	DifferentialR = 1
elseif DifferentialR  < 0 then
	DifferentialR = 0
end

if Gear1 > 5 then
	Gear1 = 5
elseif Gear1 < 0.1 then
	Gear1 = 0.1
end

if Gear2 > 5 then
	Gear2 = 5
elseif Gear2 < 0.1 then
	Gear2 = 0.1
end

if Gear3 > 5 then
	Gear3 = 5
elseif Gear3 < 0.1 then
	Gear3 = 0.1
end

if Gear4 > 5 then
	Gear4 = 5
elseif Gear4 < 0.1 then
	Gear4 = 0.1
end

if Gear5 > 5 then
	Gear5 = 5
elseif Gear5 < 0.1 then
	Gear5 = 0.1
end

if Gear6 > 5 then
	Gear6 = 5
elseif Gear6 < 0.1 then
	Gear6 = 0.1
end

if Gear7 > 5 then
	Gear7 = 5
elseif Gear7 < 0.1 then
	Gear7 = 0.1
end

if Gear8 > 5 then
	Gear8 = 5
elseif Gear8 < 0.1 then
	Gear8 = 0.1
end

if FinalDrive > 5 then
	FinalDrive = 6.08 - 5
elseif FinalDrive < 0.1 then
	FinalDrive = 6.08 - 0.1
end

if EngineIdle > 1600 then
	EngineIdle = 1600
elseif EngineIdle < 300 then
	EngineIdle = 300
end

if RideHeightFront > 5 then
	RideHeightFront = 5 
elseif RideHeightFront < 0 then
	RideHeightFront = 0
end

if RideHeightRear > 5 then
	RideHeightRear = 5 
elseif RideHeightRear < 0 then
	RideHeightRear = 0
end

if StiffnessFront > 10 then
	StiffnessFront = 10 
elseif StiffnessFront < 0 then
	StiffnessFront = 0
end

if StiffnessRear > 10 then
	StiffnessRear = 10
elseif StiffnessRear < 0 then
	StiffnessRear = 0
end

if AntiRollFront > 10 then
	AntiRollFront = 10 
elseif AntiRollFront < 0 then
	AntiRollFront = 0
end

if AntiRollRear > 10 then
	AntiRollRear = 10 
elseif AntiRollRear < 0 then
	AntiRollRear = 0
end

if CamberFront > 10 then
	CamberFront = 10 
elseif CamberFront < -11 then
	CamberFront = -11
end

if CamberRear > 10 then
	CamberRear = 10 
elseif CamberRear < -11 then
	CamberRear = -11
end

if EngineType == "Electric" then
 EngineRedline = 16200
end