if Speed_Units=="\077\080\072"then Speed_Units=.56818181818182 elseif Speed_Units=="\075\077\072"then Speed_Units=.9144 elseif Speed_Units=="\083\080\083"then Speed_Units=1 end function CheckValue(b)if b.Value==true then Dash[b.Name].ImageTransparency=0 else Dash[b.Name].ImageTransparency=.7 end end for b=1,4,1 do Dash.Tach[b].RPM.Text=(b*.25)*(_Tune.Redline-500)end CheckValue(Values.PBrake)CheckValue(Values.ABS)CheckValue(Values.TCS)


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)
