Skip to main content
A vehicle registration command, success notification and CAD vehicle result.

Activation Guide

Download and Install the Resource

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

Adjust the Configuration

Open Admin > Integrations > FiveM, select the server, then open Vehicle Register (VehReg). Enable the plugin with the header toggle and review the settings below. Changes save automatically. When saved, run exec @sonorancad/sonorancad.cfg in your server console to apply them. See Submodule Configuration for requirements, reset, and migration details.
Expand Language at the bottom of the plugin to edit its in-game messages. Keep substitution tokens such as %s or {0} intact.

Ensure Players are Linked

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

Configure Custom Record Fields

If you changed the vehicle registration template, review Vehicle color field, License plate field, Vehicle type field, Vehicle model field, Registration status field, and Expiration date field. Enter the corresponding Field Mapping ID from the vehicle registration template. These fields currently use text inputs. Edit the template itself in Admin > Records and Codes > Custom Records. Custom data supplies vehicle details for spawn codes that the game cannot identify, such as addon vehicles.

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.