[FREE] | Rup-DeathLog | Discord Log | Standalone πŸ’€

RUP Death Log :gun::skull:

A FiveM resource that logs player deaths with Discord integration

Download

:star2: Features

  • :dart: Accurate Death Detection - Weapons, vehicles, environment
  • :male_detective: Killer Identification - Players, NPCs, or self-inflicted
  • :world_map: Location Tracking - Street names & exact coordinates
  • :incoming_envelope: Discord Webhooks - Rich embeds with mentions
  • :red_car: Vehicle Recognition - Model names for car kills
  • :bug: Debug Mode - Detailed console logging

Dependencies :package:

Installation :package:

  1. Place Rup-DeathLog in your resources directory
  2. Add this to your server.cfg:
ensure Rup-DeathLog
  1. Configure Config.lua for your server needs

Configuration :gear:

Config = {
    --[[ Debug ]]
    Debug =  true,

    --[[ Thread options ]]
    Interval = 1000 -- msec, so 1000 is 1 second!

    --[[ Weapon Groups ]]
    Weapon_Groups = {
        [2685387236] = 'Melee',  -- GROUP_UNARMED
        [-1609580060] = 'Melee', -- GROUP_UNARMED
        [4257178988] = 'Melee', -- GROUP_FIREEXTINGUISHER
        [-37788308] = 'Melee', -- GROUP_FIREEXTINGUISHER
        [3566412244] = 'Melee', -- GROUP_MELEE
        [-728555052] = 'Melee', -- GROUP_MELEE
        --[[ Guns ]]
        [416676503] = 'Pistol', -- GROUP_PISTOL
        [970310034] = 'Assault Rifle', -- GROUP_RIFLE
        [860033945] = 'Shotgun', -- GROUP_SHOTGUN
        [1159398588] = 'LMG', -- GROUP_MG
        [3337201093] = 'SMG', -- GROUP_SMG
        [-957766203] = 'SMG', -- GROUP_SMG
        [3082541095] = 'Sniper', -- GROUP_SNIPER
        [-1212426201] = 'Sniper', -- GROUP_SNIPER
        --[[ Misc ]]
        [2725924767] = 'Heavy', -- GROUP_HEAVY
        [-1569042529] = 'Heavy', -- GROUP_HEAVY
        [690389602] = 'Stunned', -- GROUP_STUNGUN
        [1548507267] = 'Throwed', -- GROUP_THROWN
    },

    --[[ Discord ]]
    Discord = {
        Settings = {
            Webhook = 'https://discord.com/api/webhooks/1360996794544296087/AnbFGodfZJwCSajk7vAzwrD-8oMn91UR_sHdWaop8jmSz6ZYotDAoTJ32cLaYYLq9ef1',
            Name = 'Death Logs',
            Images = 'https://i.imgur.com/OZyXBv0.png'
        },
    },
}
Code is accessible Yes
Subscription-based No
Lines (approximately) 285
Requirements ox_lib
Support Yes
4 Likes

V 2.0.0

Features:

  • Victim Names
  • Killer Names
  • Better Logic
  • Weapon Names
  • Descriptions
  • Street Names
  • Coordinates
  • Victim and/or Killer’s Discord @mentions
  • Clean Debug Messages

:hearts:

3 Likes

Hello! The script is very good! B
But i have problem with this! Didnt write the killer in the LOG!
This is the console error:
[ c-scripting-core] InvokeNative: execution failed: Argument at index 0 was null.
[ script:Rup-DeathLog] SCRIPT ERROR: Execution of native 00000000ff7f66ab in script host failed: Argument at index 0 was null.
[ script:Rup-DeathLog] > GetNumPlayerIdentifiers (GetNumPlayerIdentifiers.lua:3)
[ script:Rup-DeathLog] > handler (@Rup-DeathLog/server/sv_main.lua:17)

Capture
Here is the Log! You can see the killer is : Unknown

Reuploaded image, sorry about that :slight_smile:

Thank you nice script! :smiling_face_with_three_hearts:

1 Like

im having the same issue

V 2.0.3

Issue for Killer ID and Killer Name has been fixed

Please download latest version on github :heart:

1 Like

image

Can you advise please

v2.0.5

Added

  • ox_lib added for easier ped grabbing
  • Vehicle name detection (model + display name)

Fixed

  • Weapon hash mismatches for common weapons

Changed

  • Complete rewrite of death detection logic
  • Improved Discord embed structure
  • Restructured config file with better organization
  • Server event data format (now uses single data object)
  • Optimized performance instead of adding everything in one big thread

Removed

  • Weapon hash list system
  • Redundant vehicle detection checks
  • Hardcoded death messages

I kept old version in releases if that did work for you :raised_hands: