Faustin Resources

Installation

Install CCTV & Surveillance on Qbox, QBCore, ESX or a standalone server.

Requirements

  • ox_lib and oxmysql
  • 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:

InventoryWhat 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-inventoryPaste install/qb_items.lua into qb-core/shared/items.lua.
ESX default inventoryRun 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 allow

Try 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.

Next steps