Skip to main content

DashCam Settings

Front/rear dashcam — FOV, offsets, filter, overlay, recording, focus key.

This section

DashCam Settings

lua
Config.DashCam = {
enabled = true,

fov = 70.0,
defaultAngle = "front",
cameraHeight = 0.5,
cameraDistanceFront = 0.2,
cameraDistanceRear = 0.2,

filter = "CAMERA_secuirity",
filterStrength = 0.7,
noise = 0.1,

overlay = {
scanlines = false,
vignette = true,
corners = true,
timestamp = true,
speedometer = true,
plateNumber = true,
},

recording = {
enabled = true,
maxDurationSeconds = 300,
maxRecordingsPerPlayer = 20,
},

focusKey = "F9",
focusCommand = "dashcam_focus",
focusBindDescription = "Toggle Dashcam Focus",

jobs = {},
discordRoles = {},
}

Top-Level Fields

FieldTypeDefaultDescription
enabledbooleantrueMaster toggle
fovnumber70.0Field of view
defaultAnglestring"front""front" or "rear"
cameraHeightnumber0.5Meters above vehicle roof
cameraDistanceFrontnumber0.2Meters ahead of front bumper
cameraDistanceRearnumber0.2Meters behind rear bumper

Visual Filter

Same options as Security Camera — see Camera Settings → Visual Filter:

lua
filter = "CAMERA_secuirity"
filterStrength = 0.7
noise = 0.1

DashCam typically uses a lighter filter strength (0.7 vs the security cam's 1.0) since you're driving and want to see the road clearly. Set filter = false for a fully clean view.

NUI Overlay

Two extra overlay options the security cam doesn't have:

lua
overlay = {
scanlines = false, -- usually OFF for dashcam (less stylized)
vignette = true,
corners = true,
timestamp = true,
speedometer = true, -- live speed display on overlay
plateNumber = true, -- vehicle plate on overlay
}
FieldDescription
scanlinesHorizontal scan lines (off by default for dashcam)
vignetteDark edges
cornersCorner bracket markers
timestampDate/time display
speedometerDashCam-only — live km/h overlay
plateNumberDashCam-only — vehicle plate overlay

Recording

Identical to security camera:

lua
recording = {
enabled = true,
maxDurationSeconds = 300,
maxRecordingsPerPlayer = 20,
}

Upload provider settings live in Server Config.

Focus Key

Because the dashcam UI overlays the screen while you're driving, you need a way to gain mouse focus to interact with buttons (start/stop recording, switch angle) without pausing the car. The focus key handles this:

lua
focusKey = "F9"
focusCommand = "dashcam_focus"
focusBindDescription = "Toggle DashCam Focus"
FieldDefaultDescription
focusKey"F9"Default keybind
focusCommand"dashcam_focus"Chat command (also used internally for keymap)
focusBindDescription"Toggle DashCam Focus"Description in FiveM keybind UI

Press F9 (or your rebind) once to gain mouse focus and click buttons; press again to release focus and continue driving.

Permissions

lua
jobs = {},
discordRoles = {},

See Permission System.

Module Toggle

OptionDefaultDescription
Config.Modules.DashCamtrueShow dashcam module
Config.DashCam.enabledtrueSame toggle (deeper level)
Config.DockButtons.dashCamtrueShow dashcam dock button