Guide · Updated 25 Oct 2026
RedM sheriff badge script: how to give lawmen and doctors a badge they can wear
A RedM sheriff badge script pins a 3D badge to a character's chest, but only for the jobs and grades you allow, and lets the wearer hold it up for others to see. The game already ships five badge props (sheriff, deputy, police, US Marshal and Pinkerton), so the job of the script is the rest: locking each badge to a job, letting players place it on their own outfit, and showing it in a scene. This guide covers how that works, what it takes to do it yourself for free, and how to set it up with Poggy Badges ($19.99).
What a badge does on a roleplay server
- It tells strangers who has authority. A player riding into Valentine should know the man on the porch is the sheriff before he says a word.
- It separates ranks. A deputy and the sheriff on the same job can carry different badges.
- It cannot be faked. If anyone can wear any badge, a badge means nothing. It has to follow the job.
- It gives a moment. "Showing the badge" is a beat in a scene: an arrest, a questioning, a stand-off at a door.
Badges belong to the wider law setup. For jobs, duty and jail, read how to set up law enforcement on a RedM server, and for job names and grades, how to set up jobs on a RedM server.
The free way: attach a stock badge prop yourself
If you write Lua, you do not need to buy anything. The five stock props need no streaming:
| Prop | Badge |
|---|---|
s_badgesherif01x | Sheriff |
s_badgedeputy01x | Deputy |
s_badgepolice01x | Police |
s_badgeusmarshal01x | US Marshal |
s_badgepinkerton01x | Pinkerton |
Spawn the prop, attach it to a spine bone with AttachEntityToEntity, and check the job on the server before you do. How to attach an object to a player walks through bones, offsets and rotations. What a hand-made version usually lacks is the part players notice: a badge sits differently on a coat than on a shirt, so one fixed position never looks right on everyone. That is where most of the work in a badge script goes.
How a job-locked badge script works
Poggy Badges ($19.99) is built round badge sets. A set names one or more jobs and gives each grade two things: a picture for the badge flash and a prop for the chest.
{
jobs = { "sheriff" },
grades = {
[0] = { badge = "sheriff", prop = "s_badgesherif01x" },
[1] = { badge = "sheriff", prop = "s_badgesherif01x" },
},
},
Sets ship for sheriff, deputy, police and Police, marshal and usmarshal, and pinkerton, grades 0 to 5, all on the stock props. Three rules catch most owners:
- Job names are case-sensitive. vorp_police calls its job
Policewith a capital P, which is why both spellings are listed. - A grade with no entry gets no badge. If your sheriff's office goes to grade 7, add grades 6 and 7.
- Only the first set that lists a job is used. Do not put the same job in two sets.
Not sure what the server reads? Turn on Config.debug, type /badge with that character, and the server console prints the job and grade it saw.
Placing the badge: the editor
A character with a badge types /badge. Anyone else gets "You don't have a badge for your current job/rank." The editor has:
- Sliders for X, Y and Z position and pitch, roll and yaw. The badge moves on the character as you drag; the mouse wheel fine-tunes and a number box takes exact values.
- A bone list: collar, upper chest, heart, lower chest, stomach, waist and hip, plus the left and right upper arm for armbands.
- Named presets saved per character in the database, one for each outfit. Click one to load it.
- Click and hold outside the panel to orbit the camera and check the badge from the side.
Owners set where a new badge starts with Config.defaultBone, Config.defaultOffset and Config.defaultRotation. A quick way to get good numbers: place a badge with the editor and copy the slider values. Custom badge packs that face the wrong way get a rotation override by prop name prefix in Config.prefixRotations. Admins can try any model in the current spot with /bprop <model>.
Showing the badge in a scene
The Show Badge button closes the editor and plays a pocket-watch style animation with the badge in hand. Players within 2 metres (Config.showDistance) see the badge picture, the character's name and your server name in the corner of the screen. Set Config.serverName first: it ships as "Your Server", and an empty value hides it. The server checks the job and grade again before every show, and does the distance check itself.
63 badge pictures ship: 21 for the stock look (silver, bronze and gold sheriff, marshal, police and detective badges, plus federal, Pinkerton, cavalry, doctor, special agent and president) and 42 matching the Poggy Badge Props pack. Any .png you drop in ui/images can be used too.
Marshals, doctors and town badges beyond the stock five
The stock props cover the classic lawmen and nothing else. There is no stock doctor, jailer or town marshal badge. Your choices:
- Reuse a stock prop with a different picture. A detective grade can wear the police prop and flash
golddetective. Cheap, but the badge on the chest stays the same. - Stream a badge pack. Any prop model works in a badge set. Poggy Badge Props ($14.99) is the pack made for it: 37 badges, including Deputy Sheriff to Commissioner, a Jailer, Court Bailiff, Railroad Police and Game Warden, eight town badges from Valentine to Armadillo, and medical and civic badges such as Doctor, Nurse, Undertaker and Mayor.
Armbands for medics, posses and the press
The props pack also has five cloth armbands: medic, mourning, posse, quarantine and press. RedM cannot scale a prop, so each comes in nine sizes, and Poggy Badges shows a Size slider so a player can fit a bare arm or a thick coat and save the size with the preset. A pack armband starts on the left upper arm by itself. A medic wearing an armband can still hold up a doctor's badge when showing it: set the grade's "Prop held up by Show Badge" (showProp) to p_poggy_badge_doctor.
Adding a badge for a job, step by step
- Find the exact job name in your framework's job list, or with
Config.debug. - Open
/poggy→ Poggy Badge → Badges → Badge sets and click Add badge set, or duplicate one close to what you want. - Add every spelling of the job, then one grade row for every grade.
- For each grade, set Badge image (a name from
ui/images, without.png) and Prop model. With the props pack: propp_poggy_badge_sheriff, imagepoggy_sheriff. - Click Save & Restart and test with
/badge.
What you need
- Poggy Badges needs Poggy Core (Free) 0.27.0 or newer and oxmysql, and runs on VORP Core, RSG Core and QBCore RedM. The preset table is created when it starts; there is no SQL to import.
config.luais open, and/poggyedits every setting in game. - Poggy Badge Props is a model pack only, with no script and no config. Start it before Poggy Badges (
ensure poggy_badge_props, thenensure poggy_badge), add or remove it only with a full server restart, and update it with a new download from your Cfx portal.
New to installing resources? Start with how to install a RedM script.


































