Skip to main content

Activation Guide

  1. Download and Install the Resource

This submodule is already enabled by default when installing the Sonoran CAD FiveM resource.

  1. Adjust the Configuration

The bodycam settings are stored inside of the /configuration/vehreg_config.lua file.

  1. Ensure Players are Linked

Ensure the player has already linked their CAD for this integration to work.

  1. Configure Custom Record Fields

When a player registers a vehicle in-game, the submodule must know what fields in your custom vehicle registration to enter the vehicle information into. The recordData portion of the config contains the Field Mapping ID for the default vehicle record template. Custom record templates are found in Admin > Customization > Custom Records If you have modified the vehicle registration template, update the recordData configuration accordingly. Vehreg: Custom Record Field Mapping

Commands

In-game commands can be used to
  • /reg Registers the vehicle you are currently sitting inside to your currently selected CAD character

Developer Documentation

You can now implement our vehicle registration system into your own scripts by simply calling a server event! See our Server Events documentation for usage.