hmmm i had this problem with cvehiclefuel thats why i use slrfuel because i can add the garages in the .lua file the fuel gauge works fine
im currently working in LuaEdit, il open up cvehiclefuel, and have a look
*UPDATE*
i did a debug and this beauty popped up
WARNING: cvehiclefuel_c.lua: Bad argument @ 'getElementData' - Line: 60
WARNING: cvehiclefuel_c.lua: Bad argument @ 'killTimer' - Line: 95
so we now have a base to work on
*ANOTHER UPDATE*
function isTimer(timer)
local timers = getTimers()
for k,v in ipairs(timers) do
if (v == timer) then
return true
end
end
return false
end
i added this to the bottom of cvehiclefuel_c.lua it cleared the Bad argument @ 'killTimer' - Line: 95
still looking @ getElementData