[Free] [Release] Reworked Police Dashcam

*******************************************
*                                         *   
*   Reworked Dashcam by MajorFivePD       *   
*                                         *   
*******************************************

His resource has been archived since 2020, so I’ve made some good changes and new look, thought that maybe someone needs this resource but with better overlay.

Credits: xander1998

Updates/changes made:

- Removed Timecycle.

- Improved texts/overlay/fonts.

- Redesigned overlay to a new better look with more visible info and organized.

Previews:

Video Preview [Works in any Emergency Vehicle]

====================================

DOWNLOAD HERE

Instalation:

  • Drag “MFPD-Dashcam” and drop into your resources folder.
    • Go to your server.cfg and add “ensure MFPD-Dashcam”

    To use the dashcam, enter the vehicle and press “C”, to stop using, just press “C” again.

Configuration:

Inside the config.lua:

DashcamConfig = {}

DashcamConfig.useMPH = false -- False will turn it to KMH

DashcamConfig.RestrictVehicles = true
DashcamConfig.RestrictionType = "class" -- custom / class

DashcamConfig.AllowedVehicles = {
    "police2",
}

Inside the nui folder, in the images, you can change to any logo you want and remember to rename to seal.png

In the script.js [Located inside nui folder] you can change:

const Dashcam = new Vue({
    el: "#Dashcam_Body",

    data: {
        showDash: false,

        gameTime: 0,
        clockTime: {},
        unitNumber: 0,
        unitName: "",
        unitSpeed: 0,
        unitSpeedType: "KMH",

        dashMessageOne: "This vehicle is licensed to the", -- You can customize the message 
        dashLabel: "State of Texas",  ---> Change to your department
        dashMessageTwo: "Any unauthorized use is subject to heavy penalty." -- You can customize the message 
    },

This dashcam will show your name inside FiveM and not your cfx account name.
Captura de Tela (633)

1 Like

Does it make a recording or is it just for show?

2 Likes

This release does not have, but I can add to it, when I’m back home, I’ll see a good way and update you here.

Thank you

1 Like

Now it’ll automatically starts recording when you starts the dashcam, and when you leave it, then stops recording and save the clip for you.

UPDATED: DOWNLOAD HERE

Thank you and where would the clip save to

1 Like

You just need to go back to the fivem menu and open rockstar editor in the bottom left, or in the F8 console menu. There you can edit/create projects, change camera positions or just export the raw dashcam clip, it will be in

Appdata/Local/RockstarGames/GTA V/videos/rendered

Thanks just had to confirm everything for our server dev team as they like to have all the information before they add anything

1 Like

No problem man, this is a vanilla in-game feature so it has no external program attached or anything it’s just rockstar editor

Thank you I will talk to the others in the dev team and will hopefully get this added into our city

1 Like

Hey could you update this where we can change the keybind?

1 Like

Hey! So, there are already a newer better version, I updated lots of things but forgot to also post here.

Changelogs:

  • This sound option below optional, if you do not want to download PlayCustomSounds from LondonStudios, it will work, just without the custom audio.

  • Added custom sound upon activation using PlayCustomSounds from LondonStudios
    * You need to open my resource “MFPD-Dashcam\html\sounds” and inside here, copy “dash.ogg” and paste inside “PlayCustomSounds\html\sounds” after installing the resource. Then you are good to go!

  • Updated config.lua

     DashcamConfig = {}

DashcamConfig.useMPH = false -- False will turn it to KM/H

DashcamConfig.RestrictVehicles = true
DashcamConfig.RestrictionType = "class" -- custom / class

DashcamConfig.AllowedVehicles = {
    "police2",
}

DashcamConfig.Keybind = 26 -- Change the keybind here https://docs.fivem.net/docs/game-references/controls/

DashcamConfig.AutomaticRecording = true -- Set to false to disable Rockstar Editor Recording upon activation.

DOWNLOAD NEWEST VERSION

PREVIEW OF CUSTOM AUDIO (IF YOU CHOOSE TO USE IT)

Is there a way to change the server side keybind from “C”

1 Like

Have you changed the bind in the config.lua? The latest release allows you to edit there, if for some strange reason it still on C, try to rename the resource, simply add something after the resource original name and see if it updates.

But just by changing in the config.lua should be correctly changing. Report back any issues and when I have time, I’ll take a look.

DashcamConfig.Keybind = 26 – Change the keybind here Controls - Cfx.re Docs