ScriptsM ELS
SM-ELS is an advanced FiveM script designed to enhance emergency vehicle functionality and bring realistic control over lighting and siren systems. It fully supports standard ELS .xml configuration files and works seamlessly with vehicles that are set up for ELS.
Installation
Download a resource (opens in a new tab) from keymaster or buy it by buttons at the top
Install .xml files
Find the .xml files from your car's archive that supports any ELS. Move the .xml file to the SM-ELS/xmlFiles folder
Go to config.lua and add a new line to Config.ELSFiles. Then change the file name to your name
-- Each time you add a new .xml file, you MUST include it below!
Config.ELSFiles = {
-- 'Example.xml',
"BISON.xml",
"FBI.xml",
"FBI2.xml",
"POLICE.xml",
"POLICE2.xml",
"POLICE3.xml",
"POLICE4.xml",
"POLICEOLD1.xml",
"POLICEOLD2.xml",
"PRANGER.xml",
"SHERIFF.xml",
"SHERIFF2.xml",
}Done. Your car is now working with SM-ELS
Config
There you can find an config of resource with description for all params
Config = {}
-- Each time you add a new .xml file, you MUST include it below!
Config.ELSFiles = {
-- 'Example.xml',
"BISON.xml",
"FBI.xml",
"FBI2.xml",
"POLICE.xml",
"POLICE2.xml",
"POLICE3.xml",
"POLICE4.xml",
"POLICEOLD1.xml",
"POLICEOLD2.xml",
"PRANGER.xml",
"SHERIFF.xml",
"SHERIFF2.xml",
}
-- Whether indicators should be enabled or not. (Controlled with Left & Right arrows by default)
Config.Indicators = true
-- If you are using server-sided sirens, uncomment below...
Config.AudioBanks = {
"DLC_WMSIRENS\\SIRENPACK_ONE"
}
-- Enables the horn beeps on siren activation
Config.HornBlip = false
-- Enables/Disables ELS beeps
Config.Beeps = true
-- Keybinds for each command. Key codes can be found at https://docs.fivem.net/docs/game-references/controls/
Config.KeyBinds = {
PrimaryLights = 85,
SecondaryLights = 182,
MiscLights = 311,
ActivateSiren = 36,
NextSiren = 45,
}