Introduction
All-in-one screenshot studio for FiveM. Captures clothing, vehicles, objects, and appearance overlays with transparent backgrounds.
Free & Open Source | Dependencies: screenshot-basic | License: Apache 2.0
uz-scripts/uz_AutoShot
65
Overview
uz_AutoShot is a free, open-source screenshot studio for FiveM. It teleports your ped to an underground void with chroma key walls and studio lighting, iterates through every drawable and texture variation, captures each one, and removes the background server-side to produce transparent PNGs. Supports clothing components, props, head overlays (facial hair, makeup, etc.), vehicles with color selection, and world objects. A built-in wardrobe browser lets players visually browse and apply items in-game. Photos are served via FiveM's native cfx-nui protocol, no port forwarding or external HTTP server needed.
Features
Installation
Add to Resources
Drop the uz_AutoShot folder into your server's resources directory. The folder must be named exactly uz_AutoShot.
Update server.cfg
ensure screenshot-basic
ensure uz_AutoShotStart the Server
Dependencies install automatically on first start via FiveM's built-in yarn. The UI is pre-built, no build step required.
Commands
| Command | Description |
|---|---|
/shotmaker | Open capture studio. Select categories, adjust camera, start batch capture |
/wardrobe | Open clothing browser. Browse thumbnails, apply items, re-capture broken shots |
/shotcar <model> | Quick-capture a single vehicle by model name |
/shotprop <model> | Quick-capture a single world prop by model name |
All commands are configurable via Customize.lua. Command names for /shotmaker and /wardrobe can be changed with Customize.Command and Customize.MenuCommand.
Permissions
Commands support FiveM's ACE permission system. Set Customize.AceRestricted = true in Customize.lua, then add to your server.cfg:
## Per player
add_ace identifier.license:YOUR_LICENSE command.shotmaker allow
add_ace identifier.license:YOUR_LICENSE command.wardrobe allow
add_ace identifier.license:YOUR_LICENSE command.shotcar allow
add_ace identifier.license:YOUR_LICENSE command.shotprop allow
## Or use a group
add_ace group.admin command allow
add_principal identifier.license:YOUR_LICENSE group.adminWorks with any FiveM identifier: license, steam, discord, fivem, etc.
Camera Controls
| Key | Action |
|---|---|
| Left Mouse | Rotate around subject |
| Right Mouse | Roll camera |
| Scroll Wheel | Zoom in / out |
| W / S | Adjust camera height |
| Q / E | Adjust field of view |
| R | Reset camera to default |
| C | Save current camera angle for this category |
Saved angles persist for the session and are automatically applied when capturing that category.
Configuration
All settings live in Customize.lua:
| Setting | Default | Description |
|---|---|---|
Customize.Command | 'shotmaker' | Capture command name |
Customize.MenuCommand | 'wardrobe' | Browser command name |
Customize.AceRestricted | false | Require ACE permission for commands |
Customize.ScreenshotFormat | 'png' | Output format: 'png', 'webp', or 'jpg' |
Customize.TransparentBg | true | Enable chroma key removal (PNG only) |
Customize.ScreenshotWidth | 512 | Capture resolution width |
Customize.ScreenshotHeight | 512 | Capture resolution height |
Customize.CaptureAllTextures | false | Capture all texture variants, not just default |
Customize.ChromaKeyColor | 'magenta' | Chroma key color: 'green' or 'magenta' |
Customize.BatchSize | 10 | Captures before each batch pause |
Customize.GCInterval | 20 | Captures between garbage collection runs |
Customize.RoutingBucket | 999 | Routing bucket used during capture |
Camera presets, green screen dimensions, studio lighting, clothing categories, prop categories, overlay categories, vehicle settings, and the object list are all configurable in the same file.