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

  • Onesync

Installation Guide

  1. Download the script from your Keymaster

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

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

  4. Restart your server

Configure Your Resource

QBCore

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

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

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

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

ESX

To use this resource with ESX Framework. Go to a5-policedash/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-policedash/Shared/sh_config.lua

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

Debug Mode

You can enable debugmode in a5-policedash/Shared/sh_config.lua this will allow you to see debug prints in addition you will be able to use the dashcam on yourself for testing purposes

Job Restriction

You can restrict the jobs that are allowed to access/use this on. You can pick a group of jobs and you can restrict if jobs can see each other's cams all through the config. In addition to that, you can restrict the use of the dashcam menu for certain ranks. a5-policedash/Shared/sh_config.lua

Vehicle Restriction

In the config you need to specify the vehicle that are allowed to use the dashcam on. You can add those vehicle through the shared config a5-policedash/Shared/sh_config.lua

Extra Functions

These functions are used for customisation. In case you needed to trigger something when the dashcam is active. These functions exist both on the server and client side and are in the exposed portion of the code

Locale

You can change some certain Script locales by heading to a5-policedash/Shared/sh_lang.lua

Last updated