Install Guide
Updated
Installation
Drag and drop the
[casirens]folder into your server'sresourcesfolder.If you already have
Raze_Coreinstalled on your server, you can skip the next step.Drag and drop the
Raze_Corefolder into your server'sresourcesfolder.Make sure
Raze_Corestarts before any RazeScripts assets.ensure Raze_Core

Raze_Core is a dependency for all RazeScripts assets and needs to be installed for the assets to function.
You only need one copy of Raze_Core on your server, even if you own multiple RazeScripts products.
Ensure
[casirens]in yourserver.cfg.ensure [casirens]
Inside the
[casirens]folder, locateSIRENS.lua.
Drag SIRENS.lua into your Luxart Vehicle Control folder where your current SIRENS.lua is located and replace the existing file.
That's it. Restart your server and you're done.
Setting Sirens
Towards the bottom of your SIRENS.lua, you will see something similar to this:
-------------LSPD--------------
['DEFAULT'] = {15, 16, 17, 18},
-------------LSSD--------------
['DEFAULT'] = {23, 24, 25, 26},
-------------BCSO--------------
['DEFAULT'] = {15, 16, 17, 18},
-------------SAHP--------------
['DEFAULT'] = {42, 43, 44, 45, 46},
-------------SAFR--------------
['DEFAULT'] = {12, 14, 13, 11},
-------------Unmarked--------------
['DEFAULT'] = {42, 43, 44, 45, 46},
-------------Staff--------------
['DEFAULT'] = {19, 20, 21, 22, 23},
To assign a certain siren set to a specific vehicle, replace DEFAULT with the vehicle's GAMENAME.
You must use the vehicle's GAMENAME, not the spawn name.
The GAMENAME can be found inside the vehicle's vehicles.meta.
You will need to do this for every vehicle you want to configure individually.
For example, if I wanted Police1 to use the CHP siren set, I would change:
['DEFAULT'] = {15, 16, 17, 18},
to:
['Police1'] = {15, 16, 17, 18},
For this siren set:
15= Horn16= Wail17= Yelp18= Warning Siren
You can add multiple vehicles under the same section like this:
-------------LSPD--------------
['Police1'] = {15, 16, 17, 18},
['Police2'] = {15, 16, 17, 18},
['Police3'] = {15, 16, 17, 18},
If you have any questions or run into any issues, please join the RazeScripts Discord and open a support ticket.
Something missing or unclear?
Ask in Discord ↗