Getting Started
This page will walk you through getting and installing the script.
Last updated
This page will walk you through getting and installing the script.
Last updated
After purchasing the script through the Sonoran store you may download the script through the keymaster account that purchased the script. Upon downloading extract the file to a safe place.
Inside the script package you just extracted will be two folders. Copy both to a folder in your server's resources folder called [sonoranscripts]
note the []
in the name, without them it will not work.
In the sonoran-mcc
folder there will be a folder called config
, once inside that folder you should see a file called config.CHANGEME.lua
you should rename that to be config.lua
and configure the settings inside as you would like them to be configured based on the configuration documentation below.
In the sonoran-mcc
folder there is the file sonomcc.ytd
, move that file into the sonoran-mcc/stream/
folder. This allows our updater to not override any custom YTD edits like custom liveries.
In the sonoran-mcc/data/
folder there are 4 .meta
files rename each file so that you remove.CHANGEME
from the name. You should be left with the following 4 file names:
carcols.meta
carvariations.meta
vehiclelayouts.meta
vehicles.meta
Finally, in your server.cfg
add the following:
There is no permission configuration required for this resource.
The mobile command center is equipped with surveillance cameras on top of the radio antenna. While looking at a vehicle, the license plate will be displayed on-screen.
Additionally, with Sonoran CAD's Wraith integration, a pNotify pop-up will display the vehicle's registration information from Sonoran CAD. Press ENTER
to "lock" the plate and return a full search in your Sonoran CAD screen.
The Sonoran CAD integration can be turned either on or off in the config.alpr
section. In order for Sonoran CAD integration to work properly you MUST have the Wraith Radar CAD plugin installed. This plugin is part of Sonoran CAD's integration framework.
Without the Wraith Radar plugin properly installed the ALPR WILL NOT work.
The mobile command center is equipped with an extendable Sonoran Radio repeater. When extended, the mobile command center will function as a Sonoran Radio tower to increase reception in the area.
The Sonoran Radio integration is both automatic and seamless. In order for this to work you MUST have the Sonoran Radio FiveM Script properly installed and configured.
Sonoran Radio's resource must remain named sonoranradio
or integration WILL NOT work.
Without the Sonoran Radio FiveM Script properly installed the Sonoran Radio integration WILL NOT work.
config.keys
Breakdownconfig.doorControl
Breakdownconfig.language
BreakdownHere you can imput your own translations or change the wording of all text prompts and popups.
config.alpr
Breakdownconfig.radio
BreakdownThese are the default names of commands, they may have been modified by the server owner.
Config Option | Option Description | Possible Values |
---|---|---|
Config Option | Option Description | Possible Values |
---|---|---|
Config Option | Option Description | Possible Values |
---|---|---|
Config Option | Option Description | Possible Values |
---|---|---|
Config Option | Option Description | Possible Values |
---|---|---|
Command Name | Command Description |
---|---|
Name | Command |
---|---|
configuration_version
This is used by the auto updater - simply don't touch it
Integer
auto_update
Would you like the script to automatically update to the newest version?
True
or False
debug_mode
Would you like to enable debug prints?
True
or False
eBrakeWithSliders
Would you like to enable/ disable the MCC's emergency brake when sliders are opened/ closed
True
or False
speedType
How would you like to display the speed on the ALPR?
'mph'
or 'kph'
cmd
The command that will be triggered
String
name
The key that will be displayed in the help menu upon entering the MCC
String
See Here for options
indexParam
The default key that will be used to trigger said command
lang
The description of what the key will do
String
method
How would you like to control the MCC doors?
1
= commands - 2
= menu 3
= none 4
= commands & menu
cmd
The command that will be triggered
String
lang
The description of what the command will do
String
enabled
Would you like to enable the MCC ALPR system?
true
or false
enableSonoranCad
Would you like the ALPR to run plates through Sonoran CAD?
true
or false
scanAi
Would you like the ALPR system to scan AI plates?
true
or false
enabled
Would you like to enable the MCC Radio Repeater system?
true
or false
range
Would you like more or less mobile radio repeater range?
int defualt: 750
/mcctoggle [door]
This is the base command that. (See Available Doors
for all the possible doors)
/togglem
Toggle the MCC control menu
/mcccamera
Access the MCC camera system
/mccintlights
Toggle the MCC interior lights
/mccradio
Toggle the MCC radio repeater
/mccplatelock
Lock the current/ last plate from the ALPR
Antenna
antenna
Sliders
sliders
Rear Door
reardoor
Driver's Door
frontleft
Passenger's Door
frontright
All Doors
all