VehReg
Register a vehicle with a single in-game command!
Last updated
Register a vehicle with a single in-game command!
Last updated
This submodule utilizes API endpoints that require the plus version of Sonoran CAD or higher. For more information, view our pricing page.
Looking for VPS, web, or dedicated hosting? Check out our official server hosting!
If you haven't already, be sure to install and configure the SonoranCAD Core first.
Follow the submodule activation guide for the required submodules.
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.
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
reg
Register your current vehicle in CAD
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.