Server Events

This page will explain all server events from the SonoranCAD Core that can be used on the server side

sonorancad::registerVeh

This event will register the vehicle the player is in, to their most recent CAD civilian character. This event requires the VehReg submodule to be enabled

TriggerServerEvent('sonorancad::registerVeh', primary, plate, class, realName)
Name
Type
Description

primary

string

The primary color of the vehicle

plate

string

The vehicle's license plate

class

string

The vehicles class. Please see Example Usage for how to get the class to a string

realName

string

The display name of the vehicle.

Last updated