โš™๏ธConfiguration

Check the default Config!

Config.lua
Config = {}

Config.Main = {
    Framework = "esx", -- "esx" or "qbcore"
    FrameWorkEvent = "es_extended",
    notifys = "sservice",
    language = "de",
    AnimatedUI = true, -- Heart frequency animation
    LookAround = false, -- Allow looking around in the deathscreen?
    RemoveItems = true, -- Remove all items after respawn -> sv_openfunctions.lua
    Itemsdonotdelete = {
        ["meth"] = true -- If you do not want to get some item removed (Works with the inbuild removeitem function, not with ones from other scripts)
    },
    RemoveMoney = true, -- Remove Cash money after respawn
    CrimelifeDeathscreen = false, --  Should the crimelife deathscreen be activated instead of the RP deathscreen.
    TimerInSekundenCrimelife = 60, -- In minutes. Only important if CrimelifeDeathscreen = true.
    DisableKeys = {303}, -- Which keys should be deactivated while you are dead?
    Voice = {
        SpeekWhileDeath = false, -- true = Players can speak when they are death
        AudioSystem = "pma", -- Your audiosystem: pma, saltychat, native
        EnableWhenStabilize = true -- true = Players can speak when they are stabilize
    },
    TimerInSekunden = 60, -- In minutes. How long does the unconscious mode last?
    ShowDeathSource = true, -- Who killed who
    IngameName = true, -- true = Ingamename, false = Steamname. Only active if ShowDeathSource = true
    Customfee = 1110, -- How much money should the player pay if he bleeds out?
    Events = {
        ["Bleedout"] = "SServic:client:RespawnPlayer"
    },
    Stabilize = {
        Stablize = true, -- Should there be a stabilisation mode? False
        AddTime = 5, -- In minutes
        DisableKeyBleedout = false, -- True = The bleed out button is greyed out in stabilisation mode.
        SpecialItem = {},
        AnimationLength = 10000 -- in milliseconds. How long should a stabilisation animation last when using a SpecialItem?
    },
    RespawnCoords = vector4(298.59408569336, -584.70568847656, 43.260841369629, 100.0), -- Spawnpoint after bleedout
    Timeouts = {
        -- For the buttons in the UI
        DistressTimeOut = 30, -- In sec
        BleedoutStartTimeout = 30,
        SyncTimeOut = 5
    },
    KnockOutPhase = true, -- Activate nockout mode or deactivate
    TimerInSekundenKnockOut = 60, -- In minutes
    KnockoutWeapons = {
        -- Which weapons should be used to activate the knockout mode?
        "WEAPON_UNARMED",
        "WEAPON_BAT"
    }
}

Config.Keys = {
    BleedoutKey = 38,
    DispatchKey = 47,
    ResyncKey = 303
}

If you find any errors in the configuration and you can't fix them yourself, open a ticket!

Last updated