Officer badge photo studio
The Eleven Police MDT photo studio for FiveM: an official badge photo with a fixed camera, in the studio map or a room on your map. Optional, off by default.
What it is
A studio for the officer's official portrait: plain background, chest-up shot. The photo becomes the badge photo on their file.
It is optional and off by default (estudioFoto = false). The tablet works the same without it.
How it works
- From an officer's file, whoever has
officers.photo_studio(command-only by default) presses the camera. Both must be within 10 m. - The officer accepts (they have 30 seconds).
- Both go to the studio, alone. The officer stands on the mark in an at-ease pose.
- The photographer controls the camera and shoots. Each photo replaces the badge photo.
- On leaving, or after 5 minutes, both go back to where they were.
| Key | What it does |
|---|---|
| Left click | Take the photo |
| Mouse wheel | Zoom |
| Arrow keys | Move the camera |
R | Reset the framing |
E | Repeat the pose |
F | Change background (with the map) |
G | 4:5 framing guide (not in the photo) |
| Backspace | Leave |
The photo is uploaded like every other capture, so it needs the FiveManage key or your own store. See Photos and branding.
With the studio map
eleven-estudio-foto-data is an underground map with a cloth backdrop, its own lighting and colored backgrounds. It is a separate resource and is not in the tablet zip: if it is not in your Keymaster, request it by opening a ticket on our Discord.
- Copy
eleven-estudio-foto-datatoresources/. - Add
ensure eleven-estudio-foto-datatoserver.cfg, beforeeleven-police. - In your
config.lua:
Config.FeatureFlags = { estudioFoto = true }
- Restart the whole server.
Warning
The map is streamed. Do not start or restart it with ensure while players are online: it can crash their game. Add it and restart the full server.
Without the map
You can use any room on your map (a room in the station, an empty interior). Adjust Config.EstudioFoto with Config.Overrides:
Config.FeatureFlags = { estudioFoto = true }
Config.Overrides = {
['Config.EstudioFoto.Recurso'] = false,
['Config.EstudioFoto.Origen'] = vec3(0.0, 0.0, 0.0), -- centre of your room's FLOOR
}
Origen.z is the floor height. You need free space: 1.6 m in front of and 2.6 m behind the origin. Without the map there are no coloured backgrounds. If there is no floor at the origin, the session is cancelled and both go back.
Settings
Config.EstudioFoto key | Default | What it does |
|---|---|---|
Recurso | 'eleven-estudio-foto-data' | Map resource, or false |
Origen | the map's coordinates | Centre of the studio floor |
HostsFoto | { 'fivemanage.com' } | Accepted hosts for the uploaded photo (plus the one in Config.FotosAlmacen) |
Fondos.porJob | {} | Background per officer job, e.g. { police = 'ps_bg_azul' } |
DistanciaMax | 10.0 | Metres between both to start |
EsperaAceptarS | 30 | Seconds to accept |
DuracionMaxS | 300 | Maximum session length |
Hora, Clima | 12:00, 'EXTRASUNNY' | Only for those two, while it lasts |