> For the complete documentation index, see [llms.txt](https://nteamdev.gitbook.io/nteam-development/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nteamdev.gitbook.io/nteam-development/maps/the-last-frame.md).

# The Last Frame

## Framescript & Last Frame Map

Standalone FiveM photo studio script with free camera, synchronized photo lobbies, scene presets, particles, fireworks, and a custom scene editor.

### Installation

1. Put the resource folder in your server resources directory \
   as `cfx-nteam-framescript`  and  `cfx-nteam-lastframe`
2. Add this to `server.cfg`:

```cfg
ensure cfx-nteam-framescript
ensure cfx-nteam-lastframe
```

3. OneSync must be enabled. The lobby system uses routing buckets to isolate photo sessions.

### Basic Use

* `/photostudio` opens Photo Studio when the player is inside a registered photo location.
* `/camoff` closes photo mode.
* Photo Studio requires a photo lobby. The owner can stay alone or invite nearby players.
* Only the lobby owner can change scenes, fireworks, particles, and custom scene entities.
* Scene editor controls:
  * `WASD` moves the camera.
  * Hold `RMB` to rotate the camera while using the gizmo.
  * `LMB` drags gizmo axes.
  * `T` translate, `R` rotate, `Q` world/local, `Left Alt` snap to ground.
  * `Enter` saves, `Backspace` cancels/returns.

### Configuration

Main settings are in `config.lua`.

* `Config.Locale` selects the language key from `locales.lua`.
* `Config.Camera` controls speed, FOV, and camera limits.
* `Config.Lobby` controls routing bucket range, invites, radius checks, combat blocking, and cooldowns.
* `Config.SceneEditor` controls custom scene limits, model loading, blacklist, and editor behavior.

Vehicle, prop, and ped catalog files:

* `vehicle_list.lua`
* `prop_list.lua`
* `ped_list.lua`

Photo locations and preset scene layouts are in `locations/*.lua`.

### Locales

Edit `locales.lua` to change UI/lobby/notification text.

Set the active locale in `config.lua`:

```lua
Config.Locale = 'en'
```

You can add a new locale by copying `NteamLocales.en` to a new key, for example:

```lua
NteamLocales.de = {
    notification_title = 'Photo Studio',
    -- add or override keys here
}
```

Missing keys automatically fall back to English.
