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