💀Death Screen

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

Last updated