Installation
Install CCTV & Surveillance on Qbox, QBCore, ESX or a standalone server.
Requirements
ox_libandoxmysql- Qbox, QBCore, ESX or no framework.
Config.Framework = 'auto'finds the one you run. - OneSync
Download
Download faustin_cctv from your Cfx Portal under Granted Assets and put it in your resources folder.
Add the items
The files are in the install folder of the resource:
| Inventory | What to do |
|---|---|
| ox_inventory (Qbox, or any framework with ox) | Paste install/ox_inventory.lua into ox_inventory/data/items.lua. |
| qb-inventory, ps-inventory, lj-inventory | Paste install/qb_items.lua into qb-core/shared/items.lua. |
| ESX default inventory | Run install/esx_items.sql on your database. |
Copy install/images/*.png to your inventory's image folder.
Start it
Add this to your server.cfg, after your framework and inventory. The ace line makes your admins CCTV admins.
cfg
ensure ox_lib
ensure oxmysql
# your framework and inventory here
ensure faustin_cctv
add_ace group.admin fcctv.admin allowTry it in game
Give yourself a cctv_camera and a cctv_computer or cctv_tablet. Mount the camera, place the computer and open the console. Police get the LSPD network through their job. As an admin, /cctvconfig opens the settings.