VehReg

Register a vehicle with a single in-game command!

Activation Guide

1. Download and Install the Core

If you haven't already, be sure to install and configure the SonoranCAD Core first.

2. Activate the Submodule and all Dependencies

Follow the submodule activation guide for the required submodules.

3. 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

4. Additional Configuration

Option
Description
Default

reigsterCommand

The command used to register current vehicle

reg

defaultRegExpire

The default date that all registrations will expire

01/02/2030

defaultRegStatus

The default status that all registrations will have | MUST BE IN CAPS

VALID

language

Array of language used within the script

English

recordData

Array of field UID's based on your vehicle registration record

Default from CAD

Usage

Commands

reg

Register your current vehicle in CAD

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.

Last updated

Was this helpful?