GE Lua Documentation

Press F to search!

getPursuitVars

Definition


-- @/lua/ge/extensions/gameplay/police.lua:472

local function getPursuitVars()
  return vars
end

Callers

@/lua/ge/extensions/gameplay/traffic/roles/police.lua
      self.flags.cooldown = 1
      self.cooldownTimer = math.max(10, gameplay_police.getPursuitVars().arrestTime + 5)
      self.state = 'disabled' -- state is set to disabled until the cooldown timer resolves or the vehicle respawns
            self:setAction('pullOver')
            self.actionTimer = gameplay_police.getPursuitVars().arrestTime + 5
          end