Bodycam System

🔹 Main Features

  1. Dash Cameras (In-Vehicle)

    • Mounted on police vehicles, streaming live video.

    • Each camera is linked to a player/unit and has its own camera ID.

    • Dispatch or supervisors can connect to watch a live feed.

  2. Body Cameras (On Officers)

    • Portable cameras worn by officers.

    • Record and transmit events happening in the field.

    • Linked directly to the officer’s player ID.

  3. Saved Recordings

    • All footage (dash or body cams) can be saved.

    • Recordings are listed with timestamps, allowing playback.

    • Used for evidence, reviews, or reports.

  4. Control Panel (Police Department UI)

    • Centralized dashboard where supervisors can switch between Dash, Body, and Saved Recordings.

    • Each feed shows the officer’s name, status, and camera ID.

    • “Watch” button opens a live or recorded feed.

  5. Recording Device (Bodycam UI)

    • Officers can start and stop recording.

    • Saved clips are timestamped and stored in the database.

    • Location metadata (street name, coordinates) is attached to each recording.


🔹 Workflow Example

  1. An officer goes on duty → body camera activates and starts recording.

  2. Patrol vehicle → dash camera feed becomes available in the Police Department control panel.

  3. If an incident occurs, supervisors or dispatchers can watch live feeds from either camera.

  4. Recordings are automatically stored and appear under the Saved Recordings section.

  5. Officers or investigators can later review the video evidence with timestamps and location data.


🔹 Advantages

  • Transparency & Accountability: Supervisors can monitor officers in real time.

  • Evidence Collection: All incidents can be replayed with exact timestamps and location data.

  • Centralized Management: Police Department UI provides quick access to all camera types.

  • Realistic Roleplay: Adds immersion for both police officers and criminals.


🔹 Summary

  • Dash Cameras: Vehicle-based, tied to patrol cars.

  • Body Cameras: Officer-worn, portable recordings.

  • Saved Recordings: Timestamped, stored evidence for future use.

  • UI Control Panel: Supervisors can switch between live and recorded feeds.

Item

-- ox_inventory/data/items.lua ['body_cam'] = { label = 'Bodycam for Police', weight = 1000, client = { image = 'bodycam.png' }, },

['bodycam_dashboard'] = { label = 'Police Bodycam Dashboard', weight = 1000, client = { image = 'bodycam_dashboard.png' }, },

-- qb-core/shared/items.lua

body_cam = { name = 'body_cam', label = 'Bodycam for Police', weight = 1000, type = 'item', image = 'bodycam.png', unique = true, useable = true, shouldClose = true, description = 'A body camera used by police officers for recording.', },

bodycam_dashboard = { name = 'bodycam_dashboard', label = 'Police Bodycam Dashboard', weight = 1000, type = 'item', image = 'bodycam_dashboard.png', unique = true, useable = true, shouldClose = true, description = 'Dashboard to view connected bodycams.', },

Last updated