local fuel = getElementData(veh,"vehicle:fuel") or 0
if fuel < 10 then
r4,g4,b4 = 255,0,0
else
r4,g4,b4 = 255,255,255
end
if fuel ~= false and fuel ~= nil and fuel > 0 then
dxDrawRectangle(x, y, x, y * - 0.1858/100*fuel, tocolor(24, 207, 0, 255), false)
Polecam wykorzysta?:D