--Setup


if Speed_Units == "MPH" then
	Speed_Units = (10/12) * (60/88)
elseif Speed_Units == "KMH" then
	Speed_Units = (10/12) * 1.09728
elseif Speed_Units == "SPS" then
	Speed_Units = 1
end

function CheckValue(Object)
	if Object.Value == true then
		Dash[Object.Name].ImageTransparency = 0
	else
		Dash[Object.Name].ImageTransparency = 0.7
	end
end

for i = 1, 4 do
	Dash.Tach[i].RPM.Text = i * 0.25 * (_Tune.Redline - 500)
end

CheckValue(Values.PBrake)
CheckValue(Values.ABS)
CheckValue(Values.TCS)
