Skip to content

I've improved and reworked the dashcam from xander1998 with a new look.

License

Notifications You must be signed in to change notification settings

dsvipeer/ReworkedDashcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

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

xander1998's 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 to: xander1998

Updates/changes made:

- Removed Timecycle.

- Improved texts/overlay/fonts.

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

Previews:

Captura de Tela (632)

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

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)

Credits to: xander1998

About

I've improved and reworked the dashcam from xander1998 with a new look.

Resources

License

Stars

Watchers

Forks

Packages

No packages published