elseif getEngineState ~= engstate then
setElementData(veh1,"fuel",100)
dxDrawText("Press SPACE to refuel!", sx*475,sy*450,sx*500,sy*240,tocolor(255,255,0,255),0.95 ,"bankgothic")
if (getKeyState('space')) then
if (not startTick) then startTick = getTickCount() end
if (getTickCount - startTick > 1000) then
--increment
startTick = getTickCount()
--if refilled then
-- startTick = nil
--end
end
end