Dashcams V2
Last updated
Was this helpful?
Last updated
Was this helpful?
Dashcams adds the ability for your players to view live dashcam feeds from vehicles that can be specified within the config file, This also allows your dispatchers to record the feed while they are watching it, allowing them to playback this footage for future roleplay ventures.
Features of Power Dashcams v2:
The ability to browse and view available dashcam feeds a simple but effective UI.
The ability for the viewer to record the feed, allowing it to be played back at any time,
Recordings are automatically segmented, allowing smooth uploading, when played back they are seamlessly merged allowing for smooth playback.
Recordings can be searched to allow fast and simple locating of past recordings.
Records Vehicle Speed and Location to allow for additional roleplay ventures.
The ability for dashcams to be viewed anywhere with the dashcam command
Ability to define certain jobs and ranks that can access the command
Ability to define new vehicles that are fitted with dashcams,
UI Displays all available vehicles spawned within the server.
Ability to change notifications and language within the config.
Download the power_dashcams_v2 from Keymaster
Add the files to your resources folder
Ensure that the resource file will start (either ensure your resource in the server.cfg or inside a folder which is started on server start)
Edit the config file to your needs
Restart your server
After creating your account at FiveMerr, go to API Tokens, and create a new video token.
Going into your html folder, open the script.js file, and ensure fivemerr is set as your apiService and edit the apiKey on the following line:
Replace API_KEY
with the token you have created in FiveMerr
Select the tab below for your framework to see the configuration options available.
To add new vehicles that are capable of utilizing dashcams, follow the below format:
If you would like to edit the notifications to add your own custom notifications or to match them to your other server notifications, you can edit them in the client_functions.lua file. Default notifications are as follows:
If you need to edit some of the framework functions to work with your framework, you can edit them in the client_functions.lua. Callbacks are setup for the player job and job grade for qb_core and es_extended.
If you would like to add a discord webhook, you can add it to the server_functions.lua. Be sure to change the CHANGEME to your webhook URL.
If you need to edit some of the framework functions to work with your framework, you can edit them in the server_functions.lua. Callbacks are setup for the player name and job name for qb_core and es_extended.
HTML files can be edited if need for additional language support or styling edits.
Due to recent limitations put in place with Discord images, we now require you to use FiveMerr to handle the images and videos for this script. You will need to make an account at .