blcd
2
When you changed the loop all you did was change the order of the draw calls. You are deriving x and the label from i which means it doesn’t matter which direction the loop goes. If you want to reverse the label you can do this instead.
local inv = highGear - i
if inv == 0 then
drawTxt((UI.x + xOffset) - i/200, YPos, 1.0,1.0,0.50, "R", 255, 255, 255, 255)
else
drawTxt((UI.x + xOffset) - i/200, YPos, 1.0,1.0,0.50, tostring(inv), 255, 255, 255, 255)
end
2 Likes