Page cover

Installation and Config

Here you will get your installation guide for the script and how to configure it as per your server.

Buy Script

CFX Post

Youtube Preview

Dependencies

ScreenshotBasic: Download

Installation Guide

  1. Download the script from your Keymaster

  2. Unzip the file a5-policecams.zip and place it in your resource folder

  3. In your server.cfg do ensure a5-policecams

  4. Restart your server

Configure Your Resource

QBCore

To use this resource with QBCore Framework. Go to a5-policecams/Shared/sh_config.lua and set the framework to qb

a5-policecams/Shared/sh_config.lua
Shared.Framework = 'qb' -- ['qb'] ['esx'] ['custom']

If you are using Old QBCore without the export. You can enable the option in a5-policecams/Shared/sh_config.lua

You can also edit the getcoreobject function if you renamed your core by going to a5-policecams/server/sv_main.lua and a5-policecams/client/cl_cams.lua and editing the function

ESX

To use this resource with ESX Framework. Go to a5-policecams/Shared/sh_config.lua and set the framework to esx

If you are using Old ESX without the export. You can enable the option in a5-policecams/Shared/sh_config.lua

You can also edit the getcoreobject function if you renamed your core by going to a5-policecams/server/sv_main.lua and a5-policecams/client/cl_cams.lua and editing the function

Image Saving

The script uses Discrod webhook to upload images. You can setup your webhook in the following file a5-policecams/Shared/sh_config.lua by creating a discord webhook. To learn how to create a discord webhook visit this link

Adding Cameras

If you want to add cameras. You can create your own custom category and it will show directly on the UI. This is the format you should use

Extra Functions

These functions are used for customization. In case you needed to trigger something when a certain UI element is triggered. You can find them in a5-policecams/client/cl_cams.lua

Locale

You can change some certain Script locales by heading to a5-policecams/Shared/sh_lang.lua Additionally you can edit UI locale through the HTML file

Extra Information

  • W A S D to move the camera

  • CTRL+W To zoom in. CTRL+S to zoom out

  • CTRL+X to plate read

  • CTRL+C to take screenshot

  • You can use the following client event to open the cams 'a5-policecams:client:OpenCamMenu'

Last updated