Qadr_Docs
  • qadr_identity
    • Installation
      • Reboot 2023
      • Old RedemRP
    • Purchasable ambients For Reboot Version
      • Blackwater Saloon
      • Valentine Saloon
      • Valentine Train Station
      • Saint Denis Bazaar
      • Saint Denis Prison
      • Saint Denis Trolley - Soon
  • qadr_fishing
  • qadr_panel
  • qadr_train
    • For Reboot 2023
  • Qadr_Map
  • qadr_ui
    • Ledger System
    • 📒Usable Handheld Catalogue
    • 🐴Legendary Animal Menu
    • 🤠Player Menu UI
    • ⏸️Pause Menu UI
    • ⚒️Crafting Menu UI
    • 🗺️Usable Legendary Animal Maps
    • 🗺️Map Icon
    • ⭕Meters UI
    • 🃏Ability UI
    • 👮‍♀️Wanted UI
    • 💀Death Screen
    • 📃Emote UI / Radial Menu
    • 🛒Shop Info UI
    • 🃏Card Game UI
    • 🤠Bounty Poster
    • 🛂Honor UI
    • 🗒️Challenge Notification Disable
    • 🎖️Mini Leader Board
    • 📋Board Notify
    • ⚔️Score UI
    • 👊Punch Bar
    • 🔄Count Down
    • 🚨Wanted UI - Outdated
    • 🌡️Meters UI - OutDated
    • 👁️‍🗨️Icons UI
    • 🗺️Map UI
      • Mini Map
      • Map Info
      • Hovered Blip Name
    • 🛡️Rank UI
    • 🐟Fish UI
      • 🎣Bait UI
    • ℹ️Info UI
    • 💥Mission Text UI
    • 🔫Weapon Info UI
    • 🐎Horse Info UI
    • 📔Message UI
    • 🤠Prompt Blip For Entities
  • qadr_train_creator - Standalone
Powered by GitBook
On this page
  • Example
  • Example For Redemrp Respawn Script
  1. qadr_ui

Death Screen

PreviousWanted UINextEmote UI / Radial Menu

Last updated 12 months ago

You can call this function after your character dies. This function will not work while your character is alive. This feature is supported in version 1.53 and above. Update your script so you can use it.

Example

RegisterCommand("DeathScreen", function(src,args,raw)
    local data = {
        showScreen = true,
        labelAction = "labelAction",
        labelOpponent = "labelOpponent",
        labelPosse = "labelPosse",
        labelDeathCause = "labelDeathCause",
        labelPlayerKills = 0,
        labelPlayerDeaths = 10,
        showKillDeathRatio = true,
        showHelpTextClone = true,
        labelHelpTextClone = "labelHelpTextClone",
        showDeathCauseLines = true,
        showPosseLines = true,
        showOpponentLines = true,
        variationId = args[1] or 0
    }
    local deathScreen = exports["qadr_ui"]:mpDeathScreen(data,GetCurrentResourceName())
    if not deathScreen then return end
    Wait(3000)
    local uData = {
        labelPlayerKills = 1
    }
    deathScreen:update(uData)
    Wait(3000)
    local uData = {
        variationId = 10
    }
    deathScreen:update(uData)
    Wait(3000)
    local uData = {
        showOpponentLines = false
    }
    deathScreen:update(uData)
end)

Example For Redemrp Respawn Script

You need these changes for redemrp_respawn. https://github.com/abdulkadiraktas/redemrp_respawn/commit/dcd03e24ac32679a0e4eb6133843675753f65c2b

💀