> For the complete documentation index, see [llms.txt](https://mic-scripts.gitbook.io/mic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mic-scripts.gitbook.io/mic/documentation/cctv-security-cameras.md).

# CCTV Security Cameras

{% hint style="info" %}
💬 **Need help?** Support, updates and changelogs are on the [**Mic Scripts Discord**](https://discord.gg/86FPzAV73B). Open a ticket with your Tebex transaction ID and the console error.
{% endhint %}

<a href="https://discord.gg/86FPzAV73B" class="button primary">💬 Join the Discord</a> <a href="https://mic.tebex.io/" class="button secondary">🛒 Get it on Tebex</a>

{% embed url="<https://www.youtube.com/watch?v=BY-bxVDnvxM>" %}

**mic\_cctv** is a security tablet and the cameras that feed it. Players mount cameras on walls and poles with an item, and open a tablet that shows every camera they have access to at once, live, on a grid. Tap one to look through it: pan, zoom, switch to night or thermal vision, and take a photo for the evidence gallery.

Cameras can be shot out. When one goes down, everybody who watches it gets a breach alert with the location, and somebody has to go and fix it with a repair kit. Admins can lay down whole networks of job cameras from an in-game creator. It runs on **ESX**, **QBCore** or **QBox**; photos are stored on **FiveManage**.

***

## Key features

* **A live grid** 📡\
  The tablet shows every camera you can see as a moving picture, refreshed several times a second, powered by screenshot-basic.
* **Four cameras** 🎥\
  A wall camera and a pole camera that turn 45° either way, and a 360° dome and a 360° pole that turn all the way round. All four use props that are already in the game — nothing to stream.
* **Look through any of them** 🔭\
  **W A S D** to turn, the scroll wheel to zoom, **Enter** to cycle normal, night and thermal vision, **Space** to take a photo.
* **Evidence gallery** 📸\
  Photos are uploaded to FiveManage and kept. Rename them, delete them, share them with your job, or print one out as a `cctv_photo` item that shows the picture when used.
* **Private or job cameras** 🔑\
  A camera you place is yours. Share it with your whole job in one tap, or give it an access name and password so anyone who knows them can add it to their tablet.
* **Breakable and repairable** 🔧\
  Bullets, melee, explosions and vehicles take cameras offline. The repair kit gives you a laser: point it at the broken camera, press **E**, wait.
* **Security logs** 🚨\
  Every camera destroyed is logged on the tablet of everyone with access to it, with a button that sets your GPS to it. The log clears when the camera is repaired.
* **A map** 🗺️\
  The tablet has a map of the city with your cameras on it.
* **Admin creator** 🛠️\
  `/camcreator` opens a placement tool for staff: pick a model, name it, choose which jobs see it and whether it can be broken, and place as many as you like.
* **Eleven languages** 🗣️\
  English, Spanish, French, German, Italian, Portuguese, Arabic, Japanese, Polish, Russian and Turkish.

***

## What you need

| You need                          | Why                                                                       |
| --------------------------------- | ------------------------------------------------------------------------- |
| **ESX**, **QBCore** or **QBox**   | Identifiers, jobs, usable items. Detected on its own                      |
| **oxmysql**                       | Cameras, access keys, evidence and logs are stored in your database       |
| **fmLib**                         | Required by the resource; shows the photo item's details in the inventory |
| **screenshot-basic**              | The live grid and every photo                                             |
| **A FiveManage account**          | Where evidence photos are uploaded                                        |
| **ox\_inventory** *(recommended)* | Needed for printed photos to carry their picture                          |

***

## Where to go next

| Page                                                                              | What is in it                                                                          |
| --------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| [🪛 Installation](/mic/documentation/cctv-security-cameras/installation.md)       | Dependencies, start order, the seven items, the admin permission, and a first camera   |
| [🎨 Customization](/mic/documentation/cctv-security-cameras/customization.md)     | Every option in `config.lua`, access rules, controls, commands, exports and the bridge |
| [🩺 Troubleshooting](/mic/documentation/cctv-security-cameras/troubleshooting.md) | Black grids, photos that never arrive, cameras nobody can see                          |
