Skip to main content
Wraith radar, plate reader and remote controller in GTA V

Showcase Video

View our WraithV2 showcase video!

Activation Guide

Download and Install the Resource

This submodule is already enabled by default when installing the Sonoran CAD FiveM resource.
Use of this submodule requires the Sonoran version of Wraith ARS 2X radar and plate reader to function. This resource is bundled with the Sonoran CAD FiveM Resource as wk_wars2x.

Adjust the Configuration

Open Admin > Integrations > FiveM, select the server, then open WraithV2. 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.

Ensure Players are Linked

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

Custom Record Handling

In Registration alerts, use Registration status field and Expiration date field to enter the matching Field Mapping ID values from your vehicle registration template. Turn on Use expires to check expiration dates. Enter the exact status values that should alert in Statuses that trigger an alert; Alert on missing registration handles plates without a registration. For BOLO and warrant alerts, the record must have a status type field set to ACTIVE and a matching plate field. Review those templates in Admin > Records and Codes > Custom Records.

Custom Field Display

Use Additional record fields to add other vehicle-registration details to ALPR notifications. Enter each field mapping ID and the label to show in the notification. Find these IDs in Admin > Records and Codes > Custom Records.

Usage

For more information on using the in-game UI, please view the Sonoran version of the Wraith ARS 2X release information.
Results are sent directly to your CAD when a license plate is locked.
WraithV2 now reuses a shared plate lookup cache. When a plate is scanned or locked, SonoranCAD caches the parsed plate result for 60 seconds and reuses it for repeat scans of the same normalized plate instead of running the full CAD lookup each time.

Developer Usage

If you are building your own server-side resource and want the same parsed data that Wraith uses, call the shared export documented in Server Functions:
Use forceRefresh = true in the options table if you need to bypass the existing cached result and pull fresh data immediately. Wraith ARS 2X Controls

Sonoran wk_wars2x

These features are not found in the original wk_wars2x resource, and only come packaged with our Sonoran CAD FiveM Resource.

Additional Features

  • Added the ability to blacklist certain vehicle classes via the config.lua, these blacklisted vehicles will show on the plate reader as the CONFIG.noPlateValue value (default: “NO PLATE”).
  • Added the feature CONFIG.realisticPlateScanning. This feature is disabled by default due to certain vehicles having incorrect metadata causing this feature to display CONFIG.noPlateValue falsely. Behavior when enabled: when you are traveling toward/away from a vehicle that does not have a front/back plate the plate reader will not be able to scan it and will display the CONFIG.noPlateValue value.
  • Added custom sounds when a BOLO, Warrant or unregistered vehicle plate is scanned.

Realistic Plate Scanning

Set CONFIG.realisticPlateScanning to true to enable only scanning vehicles with the ALPR when they have a plate. Note: Some vehicles may show a plate due to missing vehicle metadata or being able to remove the plate with extras. Sonoran wk_wars2x - Additional Config Options

Custom Alert Tones

Custom tones will now play when you scan a plate that is has either a BOLO, Warrant or is unregistered. These tones can be customized by replacing the existing files in the /sonorancad/submodules/wraithv2/sfx folder with your own. Please note the files names need to be the same as the ones you are replacing

Doppler Sounds

The Doppler Effect allows the radar to automatically capture vehicle speeds while in motion. As patrol speed increases, the radar adjusts its frequency shift calculations to accurately track and lock moving targets in front of or behind the unit—enabling reliable speed detection without requiring the officer to remain stationary. The doppler effect can be adjusted by opening the controller (F5 by default) > Menu The doppler effect can be adjusted per client from a volume of 0 (off) to 5 (max volume). Additionally servers can disable the entire system via the configuration option CONFIG.enable_doppler Sonoran CAD - Wraith WkWars2x - Doppler Off Sonoran CAD - Wraith WkWars2x - Doppler Max Volume

Doppler Direction

You can customize the antenna that will trigger the doppler noise via the client settings menu between the options of “btH” (both), “rEr” (rear) or “FNt” (front). This will create the doppler audio effect based upon a vehicles speed in the respective antenna Sonoran CAD - Wraith WkWars2x - Front Only Sonoran CAD - Wraith WkWars2x - Both Antennas Sonoran CAD - Wraith WkWars2x - Rear Only

Troubleshooting

AI Cars are Spamming the Reader

The framework ships with the wk_wars2x plate reader included. This will have the config.use_sonorancad set to true. When enabled, the plate reader will not run a lookup on any AI vehicle. Wraith - Use Sonoran CAD Config Option

Vehicles Aren’t Being Flagged

Status

Keep in mind that AI vehicles won’t display or be ran unless there’s a vehicle registration record added to the CAD with that plate. Ensure that you’ve correctly followed step 5 and the Registration status field and Expiration date field fields have been set correctly, in the vehicle registration template and the CAD plugin settings. Ensure that the Statuses that trigger an alert array has the exact string/text values that match the options in your custom record template.

BOLO and Warrant

Ensure that your custom BOLO and Warrant records have a field with the type set to status. Otherwise, there’s no way to determine if the BOLO/Warrant is active, closed, etc. The plate reader will warn of any active BOLO or Warrant records with the vehicle plate attached and the status type field set to active/open.

Error: attempt to index a nil value (local ‘vehicle’)

Some servers will see this error in their server console:
To fix this, navigate to your [sonorancad]/wk_wars2x folder, and rename config.dist.lua to just config.lua The config not being renamed is the most common cause of this error, however, if for some reason that doesn’t fix it, feel free to open a support ticket with us.