-- @/lua/vehicle/extensions/gameplayStatistic.lua:38
local function removeSchedule(fn)
for i in ipairs(statSchedule) do
if statSchedule[i] == fn then
table.remove(statSchedule, i)
lenstatSchedule = #statSchedule
if lenstatSchedule == 0 then
M.updateGFX = nil
extensions.hookUpdate("updateGFX")
end
return true
end
end
return false
end
local function removeSchedule(fn)
for i in ipairs(statSchedule) do