qbStressConfig

-- QB Stress settings
config.stressActive = false       -- Only works in qb
config.StressChance = 0.1         -- Default: 10% -- Percentage Stress Chance When Shooting (0-1)
config.DisablePoliceStress = true -- If true will disable stress for people with the police job
config.MinimumStress = 50         -- Minimum Stress Level For Screen Shaking
config.MinimumSpeedUnbuckled = 50 -- Going Over This Speed Will Cause Stress
config.MinimumSpeed = 100         -- Going Over This Speed Will Cause Stress
config.WhitelistedWeaponStress = {
    `weapon_petrolcan`,
    `weapon_hazardcan`,
    `weapon_fireextinguisher`
}
config.Intensity = {
    ["blur"] = {
        [1] = {
            min = 50,
            max = 60,
            intensity = 1500,
        },
        [2] = {
            min = 60,
            max = 70,
            intensity = 2000,
        },
        [3] = {
            min = 70,
            max = 80,
            intensity = 2500,
        },
        [4] = {
            min = 80,
            max = 90,
            intensity = 2700,
        },
        [5] = {
            min = 90,
            max = 100,
            intensity = 3000,
        },
    }
}
config.EffectInterval = {
    [1] = {
        min = 50,
        max = 60,
        timeout = math.random(50000, 60000)
    },
    [2] = {
        min = 60,
        max = 70,
        timeout = math.random(40000, 50000)
    },
    [3] = {
        min = 70,
        max = 80,
        timeout = math.random(30000, 40000)
    },
    [4] = {
        min = 80,
        max = 90,
        timeout = math.random(20000, 30000)
    },
    [5] = {
        min = 90,
        max = 100,
        timeout = math.random(15000, 20000)
    }
}

Last updated