KD Script
FiveMScript

KD Script

KD Tracker turns every fight on your server into a stat.

Made and sold by the BuildMyScript team.

KD Tracker turns every fight on your server into a stat. Each player kill is recorded automatically and saved to your database, so kills, deaths, headshots and K/D ratio carry over between sessions and restarts.

Players press F9 (or type /kd) to open a clean leaderboard showing their own stats next to the top 100 players on the server. The board refreshes for everyone the moment a kill lands.

Features

  • •Automatic kill and death tracking, with no setup per weapon or zone
  • •Headshot detection and counting
  • •Personal K/D ratio, worked out live
  • •Top 100 leaderboard, ranked by kills
  • •F9 hotkey that players can rebind in their FiveM key settings
  • •Live leaderboard updates for all players
  • •Self-kills are ignored, and duplicate kill reports are filtered
  • •/kdreset [id]: owners can wipe a player's stats
  • •Ready-made reset event for Tebex or other shop packages, so you can sell "KD reset" as a store item
  • •okokNotify alerts for admin and player messages
  • •Stats are saved by Rockstar license, so they stay with the player even if they change their name

Requirements

  • •ESX (es_extended)
  • •ox_lib
  • •oxmysql
  • •okokNotify (for alerts)