A FiveM police badge script for ESX, inspired by NoPixel. When an officer uses the badge item, a prop badge appears in hand and a badge card with the officer’s photo is shown to players nearby.
Features
- Show your badge by using the
lspd_badgeitem - Badge card UI (NUI) shown to players within a configurable distance (default 10 meters)
- Assign a personal photo to each officer by Steam identifier in
config.lua - Configurable close key (default Backspace)
- Badge prop model included (
prop_fib_badge) - Two Photoshop templates (
badge_new.psd,badge_old.psd) to edit the badge design
Requirements
- ESX
- An item named
lspd_badgein your database
Installation
- Copy the
pdbadgefolder into your resources and addensure pdbadgeto your server.cfg. - Add an item named
lspd_badgeto your database. - Put officer photos in
html/badges/and link them to Steam identifiers inConfig.SteamIdentifiers.
The download also contains a second badge resource, yldrm_badge, with LSPD, Sheriff, State and Ranger badge images (uses mysql-async).