> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nonefivem.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Configuration

> Configure no-camera settings.

Configuration can be found in `no-camera/config/shared.lua`.

<Note>
  For media upload provider settings, refer to [Media Upload
  Configuration](/scripts/no-base/configuration/media-upload).
</Note>

## Inventory

Configure inventory integration for camera and photo items.

```lua theme={null}
Config.Inventory = {
    enabled = true,          -- Whether inventory integration is enabled
    camera_item = "camera",  -- Item name for the camera
    photo_item = "cam_photo" -- Item name for the photo
}
```

| Option        | Type    | Default       | Description                              |
| ------------- | ------- | ------------- | ---------------------------------------- |
| `enabled`     | boolean | `true`        | Whether inventory integration is enabled |
| `camera_item` | string  | `"camera"`    | Item name for the camera                 |
| `photo_item`  | string  | `"cam_photo"` | Item name for the photo                  |

## Indicators

Configure the keybind indicators shown when the camera is first activated.

```lua theme={null}
Config.Indicators = {
    enabled = true, -- Whether the indicators are enabled
    timeout = 5000  -- Time in milliseconds before the indicators are hidden
}
```

| Option    | Type    | Default | Description                                           |
| --------- | ------- | ------- | ----------------------------------------------------- |
| `enabled` | boolean | `true`  | Whether the indicators are enabled                    |
| `timeout` | number  | `5000`  | Time in milliseconds before the indicators are hidden |

## Keybinds

Configure default keybinds for camera actions.

<Warning>
  If you change these keybinds, they won't be updated for players who already have
  keybinds set. Players can change their keybinds in the settings menu.
</Warning>

```lua theme={null}
Config.Keybinds = {
    DEACTIVATE = "BACK",       -- Key to deactivate the camera
    VIEW = "G",                -- Key to toggle camera view
    PHOTO_MODE = "E",          -- Key to toggle photo mode
    TAKE_PHOTO = "MOUSE_LEFT", -- Key to take a photo
    HOLD_HELP = "H",           -- Key to hold for camera controls help
    PHOTO_FOCUS = "E",         -- Key to view photo in fullscreen
    PHOTO_CLOSE = "BACK"       -- Key to close the photo
}
```

| Option        | Type   | Default        | Description                          |
| ------------- | ------ | -------------- | ------------------------------------ |
| `DEACTIVATE`  | string | `"BACK"`       | Key to deactivate the camera         |
| `VIEW`        | string | `"G"`          | Key to toggle camera view            |
| `PHOTO_MODE`  | string | `"E"`          | Key to toggle photo mode             |
| `TAKE_PHOTO`  | string | `"MOUSE_LEFT"` | Key to take a photo                  |
| `HOLD_HELP`   | string | `"H"`          | Key to hold for camera controls help |
| `PHOTO_FOCUS` | string | `"E"`          | Key to view photo in fullscreen      |
| `PHOTO_CLOSE` | string | `"BACK"`       | Key to close the photo               |

## Integrations

Enable or disable third-party integrations. See [Integrations](/scripts/no-camera/integrations) for more details.

```lua theme={null}
Config.Integrations = {
    LBPhone = {
        enabled = true
    }
}
```

| Integration       | Default | Description                                                         |
| ----------------- | ------- | ------------------------------------------------------------------- |
| `LBPhone.enabled` | `true`  | Enable LB Phone integration to add photos to player's phone gallery |
