S-Service
S-Service
  • S-SERVICE
    • ๐Ÿ’ฅAbout S-Service
  • Docs for our Products
    • ๐Ÿ”ซS-Gangwar
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • โœจS-FFA
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ‘จโ€โš•๏ธS-Revivestation
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ“ฆS-Postal
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆS-Factions
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ–ผ๏ธS-Loadingscreen
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ“ฉS-Identity
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿš—S-Garage
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐ŸŽซS-Namechange
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ—บ๏ธS-HUD
      • ๐Ÿ› ๏ธInstallation
        • HUD setup into ESX
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ””S-Notify
      • ๐Ÿ› ๏ธInstallation
        • Notify setup into ESX
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿค–S-Admin
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
        • Permissions
        • Commands
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿš˜S-Rental
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ“‚S-Scoreboard
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ’€S-Deathscreen
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ S-Housing
      • ๐Ÿ› ๏ธInstallation
        • Guides
          • Insert new Shells
        • Default Settings
          • Default Garages
          • Default Shells
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿง‚S-SaltyNUI
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ’ปS-Inventory
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ‘•S-Clothingshop
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐ŸŽ„S-Christmas
      • ๐Ÿ› ๏ธInstallation
        • Tebex Wrapper (Premium)
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ›„S-Warehouse
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐ŸชS-Dealerships
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ›’S-Shops
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ“ขS-Lifeinvader
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐Ÿ’ตS-Moneywash
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
    • ๐ŸŽ๏ธS-Platechange
      • ๐Ÿ› ๏ธInstallation
      • โš™๏ธConfiguration
      • ๐ŸงฉExports and Events
      • ๐Ÿ“ŒInformations / Typical Errors
Powered by GitBook
On this page
  1. Docs for our Products
  2. S-Deathscreen

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!

PreviousInstallationNextExports and Events

Last updated 9 months ago

๐Ÿ’€
โš™๏ธ