EVC (24€)
Place equipements, sirens and emergency lights on any vehicle.
This is a script, lights/objects/vehicles are not included unless mentioned otherwise
Video available here
You can test our scripts for free here
Features
Place equipements, sirens and emergency lights on ANY vehicle
Multiple siren tones
Custom siren range
Option to force lights to be on before siren can be activated
Lights and equipements can be placed anywhere on the vehicle
Lights and equipements position and rotation can be saved to a file and automatically loaded when a vehicle spawns
Uses StateBags
(no events are sent to the server/client unless when saving a configuration)
Mirror a light or object position / orientation on another light or object (for easier placement)
Possibility to customize menu appearance
Spawned objects can be invincible
Support for custom sirens (from Walsheyy’s WMServerSirens for instance)
Whitelisted menu (Comes preconfigured for identifiers, ESX, QB-Core and ACE)
Can control lights independently from sirens on native emergency vehicles
Holding E with the sirens on will trigger an alternative siren (like on native vehicles)
Holding E with the sirens off will trigger the horn
Choose alternative siren in menu
Save a config as a template, that can be loaded using the menu or the event TriggerServerEvent("EVC:SpawnTemplate", NetworkGetNetworkIdFromEntity(veh), template_name)
Exports to check if a vehicle has lights, objects or sirens exports.EVC:HasLights(veh)
/ exports.EVC:HasObjects(veh)
/ exports.EVC:HasSirens(veh)
Export to toggle lights, objects and sirens on vehicle exports.EVC:ToggleLightsObjectsSirens(veh, state)
Uses FiveM Asset Escrow system
Requires OneSync (Not working with OneSync Legacy)
Requires NativeUI
Compatible with : LightBars by @Munky (Redistributed in this script)
Compatible with : EVC Starter Pack by @D3 (Included for free in this script)
Compatible with : D3S Equipement by @D3 ( Not included)
Compatible with : WMServerSirens by @Walsheyy ( Not included)
Controls
Keybind / Command | Action |
---|---|
F6 | Open menu |
LALT | Turn on lights |
E | Turn on sirens |
G | Change the siren tone |
Updates
Click to display
2.2.0
Ability to whitelist per siren
2.1.9b
Add keybind to add / remove lights, objects and sirens
Fix error while placing light
2.1.9
Update whitelist to latest ESX
2.1.8a
Add Config.HandleEntityCreatedRemoved to disable entityCreated and entityRemoved events
2.1.8
Light/Object wise whitelist
Only modify lights/objects on which you have rights
Light/Object wise collisions
Only put loaded models in spawn menu
Fix logs
2.1.7
Option to force lights to be on before siren can be activated
If sirens were on before lights were turned off, sirens will be turned on when lights are turned on
Turn off sirens if lights are turned off
2.1.6
Ability to control livery on placed object / light
Livery is saved to file and loaded on object / light on spawn
2.1.5
Add export : exports.EVC:ToggleLightsObjectsSirens(veh, state)
to toggle lights, objects and sirens placement on vehicle
Save options in list instead of multiple buttons
Sync bugfixes
2.1.4
Add lights / equipements on trailer and control them from the truck (hold keybind)
Option to allow passenger to turn on lights / sirens
2.1.3d
Can control lights independently from sirens on native emergency vehicles
Holding E will trigger an alternative siren (like on native vehicles)
Choose alternative siren in menu
Increase default rotation sensitivity
Fix save when only sirens
Better save notifications
Configs are now loaded on resource start
Bugfix horn/siren is not binded on E
Bugfix horn on native emergency vehicles
2.1.2
Option to allow only whitelisted player to control lights / sirens
2.1.1
Sync doors accross clients
Update model list based on D3s releases
Overhaul of spawning logic to prevent bugs when vehicles are spawned server-side
2.1.0
Don’t wait on lights/equipements not loaded or not in config
Bugfix potential conflict in state bags name
Bugfix spawning issues
2.0.9
Set maximum number of lights / equipements per vehicle
Extras on objects as well as on lights
Extras and doors settings will be applied on load
Bugfix error on server identifier is nil
2.0.8
Ability to control extras and doors of placed light
Custom Siren range
2.0.7
Complete rework of sirens internal logic
Bugfix sirens not turning on for some player when entering scope
Bugfix NetworkGetNetworkIdFromEntity
Bugfix siren order not the same on every client
Owners can write custom UUID function to choose how to save/load configs
Better handling of on/off state of lights to prevent desync between lights
2.0.6
Save a config as a template
Template can be loaded onto any vehicle using the menu or the event TriggerServerEvent("EVC:SpawnTemplate", NetworkGetNetworkIdFromEntity(veh), template_name)
Bugfix siren turns off when in other police car
2.0.5
Config option to spawn objects / lights only if the player spawning the vehicle is whitelisted
Clean up of the configuration code
Add config for Side Runners Pack
2.0.4
Add an option to enable/disable lights, objects and siren on a vehicle
Add export to check if a vehicle has lights : exports.EVC:HasLights(veh)
Add export to check if a vehicle has objects : exports.EVC:HasObjects(veh)
Add export to check if a vehicle has sirens : exports.EVC:HasSirens(veh)
2.0.3
Add new models from D3S’s EVC Starter Pack
2.0.2
Add job grade permission support
Draw marker on selected object
Spawned objects can be invincible
Possibility to customize menu appearance
Maintain the model selection when spawning an object / light
2.0.1
Fix translation and rotation speed sensitivity
Auto select just spawned element
Check if models exist before adding it to the menu
Change some translations
Add D3sEvcStarterPack
More bugfix GetNetworkObject
Enhance object deletion
2.0.0
Move to EVC
Bugfix GetNetworkObject
Add support for placing equipements
Complete refactor of menu
1.1.6
Ability to save per user + plate (disabled by default)
Bugfix save user+plate
Add ACE permission support
Bugfix whitelist
1.1.5
Support for custom sirens (from Walsheyy’s WMServerSirens for instance)
1.1.4
Bugfix multiple siren sound on same vehicle
1.1.3
Mirror a light position / orientation on another light (for easier placement)
Add description to each button
1.1.2
Simpler mouse view control
Select dynamically rotation speed
Select dynamically translation speed
Menu stays at same index when switching model
1.1.1
Bugfix some spawning issues
Bugfix some error in client consoles (no object by ID 0)
Added total number of lights
1.1.0
Register siren and lights per model and / or per plate (defaults to per plate, option in the config file)
Range and sensitivity can be customized for rotation
1.0.0
Place a siren and emergency lights on ANY vehicle
Light up the lights
Turn on the sirens
Multiple siren tones
Lights can be placed anywhere on the vehicle
Lights position and rotation can be saved to a file
The saved position and rotation of the lights are automatically loaded when a vehicle spawns (based on the number plate)
Uses StateBags
(almost no events are sent to the server/client unless when saving a configuration)
Remove lights
Automatically disable horn if siren is installed
License
Click to display
Copyright (C) Nabla Corporation - All Rights Reserved.
THE CONTENTS OF THIS PROJECT ARE PROPRIETARY AND CONFIDENTIAL.
UNAUTHORIZED COPYING, TRANSFERRING OR REPRODUCTION OF THE CONTENTS OF THIS PROJECT, VIA ANY MEDIUM IS STRICTLY PROHIBITED.
The receipt or possession of the source code and/or any parts thereof does not convey or imply any right to use them
for any purpose other than the purpose for which they were provided to you.
The software is provided “AS IS”, without warranty of any kind, express or implied, including but not limited to
the warranties of merchantability, fitness for a particular purpose and non infringement.
In no event shall the authors or copyright holders be liable for any claim, damages or other liability,
whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software
or the use or other dealings in the software.
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
Accessible code | No (except config/whitelist/customization) |
Subscription-based | No |
Lines | 1959 |
Requirements | OneSync, NativeUI |
Support | Yes |