Configuration

Config = {}

Config.DefaultLanguage = "en" -- Default language to be used (en, tr, de, es, fr)

Config.CameraRange = 10.0 -- Camera max range
Config.ActivationCommand = "playcam" -- Command to activate the freecam
Config.ActivateKey = true -- If true, V will be activated with the key (1.5 seconds press)

Config.CollisionRadius = 0.1 -- Wider collision radius (stronger collision detection)
Config.CollisionEnabled = true -- Toggle collision control on/off

Config.CollisionCommand = {  -- Toggle collision command on/off
    enabled = false,
    command = "camcollision"
}

Config.CameraSpeed = 0.01 -- Normal camera movement speed
Config.CameraSpeedFast = 0.03 -- Fast movement with Shift key
Config.VerticalSpeedMultiplier = 0.7 -- Vertical movement speed multiplier


Config.Filters = {"DeathFailMPDark", "MP_Bull_tost", "DrugsMichaelAliensFight", "HeistCelebPass", "FocusOut"}


Config.Notification = function(message, type)
    if GetResourceState("qb-core") == "started" then
        TriggerEvent("QBCore:Notify", message, type)
    elseif GetResourceState("es_extended") == "started" then
        TriggerEvent("esx:showNotification", message)
    end
end

Last updated