Photos, headshots and mugshots from the game
Take evidence and scene photos with /photo, ID photos with /headshot and booking photos with /mugshot, and show an ID card with /showid.
The resource can take photos in game and put them straight into the CAD. Units photograph scenes and evidence with /photo, players take their civilian's ID photo with /headshot, and officers take booking photos with /mugshot. /showid then shows that photo on an ID card to the people nearby.
This article covers what each command does, the settings they depend on, and what to tell players when one doesn't work.
Before you start#
- Your game server needs the screenshot-basic resource, with
ensure screenshot-basicinserver.cfg. Without it, players see Photos need the screenshot-basic resource on this server. - Players need Discord linked in FiveM, with the same account they use on your community's website.
- /headshot and /mugshot need Photo uploads turned on under CAD settings, on the Records tab. It's on to start with.
- Filing photos onto evidence needs Evidence and Evidence photos turned on under CAD settings, on the Evidence tab.
Take a photo with /photo#
/photo is for units on duty. It opens a camera you aim yourself.
- Type /photo. To file it straight onto an evidence item, add its number, like /photo EV-1024. You can add a caption after it, like /photo EV-1024 Broken window.
- Look around with the mouse and zoom with the scroll wheel.
- Click (or press Enter) to take the photo. Press Escape, Backspace or right click to put the camera away.
If you gave an evidence number, the photo goes onto that item and you'll see Photo added to evidence EV-1024.
Without a number, a File this photo box opens. Pick where it goes:
- Calls: your current call is picked first, with any other open calls listed.
- Your reports: reports you've written that haven't been approved yet.
- Evidence: items you collected, or Another evidence item to type the number on its label.
Add or change the Caption and click File photo. If you'd rather decide later, click Keep in my photos. The photo waits in your photos in the CAD, where you can file it from the website. Your photos keep the 30 most recent. Older ones are removed as you take more.
If you leave the caption empty, LonexOne uses the street and postal where the photo was taken.
You can take one photo every 10 seconds.
Take an ID photo with /headshot#
Any member with a civilian can use /headshot to take a new ID photo.
- Get out of any vehicle.
- Type /headshot.
- Pick which of your civilians it's for. You're always asked, even if you only have one, so a photo never lands on the wrong person.
- The camera frames your face. Click to take it.
You'll see New ID photo saved for your civilian's name. It replaces their old photo.
Take a mugshot with /mugshot#
/mugshot is for police officers on duty. It photographs the person in front of you for their civilian's photo.
- Stand within 3 metres of the person, with both of you out of any vehicle.
- Type /mugshot.
- The camera frames their face. Click to take it.
- A Who is this? box opens. The civilians of the player you photographed are listed first, or you can search by name.
- Pick their civilian.
The photo replaces the civilian's photo. If an arrest for them was written in the last 6 hours and doesn't have a booking photo yet, it's added to that arrest too. You'll see Mugshot saved for their name, with and added to their arrest if it was.
If you close the box, or click Throw it away, the photo is deleted. Mugshots nobody picks a civilian for are thrown away after a day.
Every mugshot is logged. See The mugshot log.
Show an ID card with /showid#
/showid shows your civilian's ID card to you and anyone within 4 metres. The card has their name, date of birth, sex, height, address, photo and, if your community uses ID numbers, their ID number.
If you have more than one civilian and haven't picked one yet, you're asked which to show. That one is shown from then on, until you pick another in the CAD.
Something not working?#
It says "Photos need the screenshot-basic resource on this server."
Add screenshot-basic to the server and ensure screenshot-basic to server.cfg, then restart.
It says "Civilian photos are switched off for this community." Turn on Photo uploads under CAD settings, on the Records tab.
It says "Evidence photos are switched off for this community." Turn on Evidence photos under CAD settings, on the Evidence tab.
It says "There's no evidence item EV-1024. Check the number on its label." The number doesn't match an evidence item. Check it in the CAD and try again.
It says "Evidence EV-1024 is closed, so it can't take more photos." That item is closed. Use a different item, or keep the photo in your photos.
It says "You don't have a civilian yet. Make one in the CAD under Civilian." /headshot and /showid need a civilian. Create one in the CAD first.
It says "Mugshots are for law enforcement on duty." Only police units on duty can take mugshots. Fire and EMS can't.
It says "Stand within 3 metres of the person, out of any vehicle". Get closer, and make sure neither of you is in a vehicle.
It says "That photo link has expired." Each photo has to be taken within 2 minutes of running the command. Run it again.
It says "Keep photos under 4 MB." or "Upload a JPG, PNG or WebP image." The screenshot was too big or in the wrong format. Check your screenshot-basic settings.
See also
Can't find what you need?
Open a ticket in our Discord and someone from the team will help. Found a bug, or missing a feature? Tell us on the feedback board.