GE Lua Documentation

Press F to search!

removeSchedule

Definition


-- @/lua/ge/extensions/gameplay/statistic.lua:106

local function removeSchedule(fn)
  for i in ipairs(statSchedule) do
    if statSchedule[i] == fn then
      table.remove(statSchedule, i)
      lenstatSchedule = #statSchedule
      return true
    end
  end
  return false
end

Callers

@/lua/vehicle/extensions/gameplayStatistic.lua

local function removeSchedule(fn)
  for i in ipairs(statSchedule) do