Emergency Vehicle Creator

A script by NablaCorporation

No reviews yet.
Emergency Vehicle Creator main image

Full Description

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

:white_check_mark: Place equipements, sirens and emergency lights on ANY vehicle
:white_check_mark: Multiple siren tones
:white_check_mark: Custom siren range
:white_check_mark: Option to force lights to be on before siren can be activated
:white_check_mark: Lights and equipements can be placed anywhere on the vehicle
:white_check_mark: Lights and equipements position and rotation can be saved to a file and automatically loaded when a vehicle spawns
:white_check_mark: Uses StateBags (no events are sent to the server/client unless when saving a configuration)
:white_check_mark: Mirror a light or object position / orientation on another light or object (for easier placement)
:white_check_mark: Possibility to customize menu appearance
:white_check_mark: Spawned objects can be invincible
:white_check_mark: Support for custom sirens (from Walsheyy’s WMServerSirens for instance)
:white_check_mark: Whitelisted menu (Comes preconfigured for identifiers, ESX, QB-Core and ACE)
:white_check_mark: Can control lights independently from sirens on native emergency vehicles
:white_check_mark: Holding E with the sirens on will trigger an alternative siren (like on native vehicles)
:white_check_mark: Holding E with the sirens off will trigger the horn
:white_check_mark: Choose alternative siren in menu
:white_check_mark: Save a config as a template, that can be loaded using the menu or the event TriggerServerEvent("EVC:SpawnTemplate", NetworkGetNetworkIdFromEntity(veh), template_name)
:white_check_mark: Exports to check if a vehicle has lights, objects or sirens exports.EVC:HasLights(veh) / exports.EVC:HasObjects(veh) / exports.EVC:HasSirens(veh)
:white_check_mark: Export to toggle lights, objects and sirens on vehicle exports.EVC:ToggleLightsObjectsSirens(veh, state)
:warning: Uses FiveM Asset Escrow system
:warning: Requires OneSync (Not working with OneSync Legacy)
:warning: Requires NativeUI
:arrow_right: Compatible with : LightBars by @Munky (Redistributed in this script)
:arrow_right: Compatible with : EVC Starter Pack by @D3 (Included for free in this script)
:arrow_right: Compatible with : D3S Equipement by @D3 (:warning: Not included)
:arrow_right: Compatible with : WMServerSirens by @Walsheyy (:warning: 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

:white_check_mark: Ability to whitelist per siren

2.1.9b

:white_check_mark: Add keybind to add / remove lights, objects and sirens
:white_check_mark: Fix error while placing light

2.1.9

:white_check_mark: Update whitelist to latest ESX

2.1.8a

:white_check_mark: Add Config.HandleEntityCreatedRemoved to disable entityCreated and entityRemoved events

2.1.8

:white_check_mark: Light/Object wise whitelist
:white_check_mark: Only modify lights/objects on which you have rights
:white_check_mark: Light/Object wise collisions
:white_check_mark: Only put loaded models in spawn menu
:white_check_mark: Fix logs

2.1.7

:white_check_mark: Option to force lights to be on before siren can be activated
:white_check_mark: If sirens were on before lights were turned off, sirens will be turned on when lights are turned on
:white_check_mark: Turn off sirens if lights are turned off

2.1.6

:white_check_mark: Ability to control livery on placed object / light
:white_check_mark: Livery is saved to file and loaded on object / light on spawn

2.1.5

:white_check_mark: Add export : exports.EVC:ToggleLightsObjectsSirens(veh, state) to toggle lights, objects and sirens placement on vehicle
:white_check_mark: Save options in list instead of multiple buttons
:white_check_mark: Sync bugfixes

2.1.4

:white_check_mark: Add lights / equipements on trailer and control them from the truck (hold keybind)
:white_check_mark: Option to allow passenger to turn on lights / sirens

2.1.3d

:white_check_mark: Can control lights independently from sirens on native emergency vehicles
:white_check_mark: Holding E will trigger an alternative siren (like on native vehicles)
:white_check_mark: Choose alternative siren in menu
:white_check_mark: Increase default rotation sensitivity
:white_check_mark: Fix save when only sirens
:white_check_mark: Better save notifications
:white_check_mark: Configs are now loaded on resource start
:white_check_mark: Bugfix horn/siren is not binded on E
:white_check_mark: Bugfix horn on native emergency vehicles

2.1.2

:white_check_mark: Option to allow only whitelisted player to control lights / sirens

2.1.1

:white_check_mark: Sync doors accross clients
:white_check_mark: Update model list based on D3s releases
:white_check_mark: Overhaul of spawning logic to prevent bugs when vehicles are spawned server-side

2.1.0

:white_check_mark: Don’t wait on lights/equipements not loaded or not in config
:white_check_mark: Bugfix potential conflict in state bags name
:white_check_mark: Bugfix spawning issues

2.0.9

:white_check_mark: Set maximum number of lights / equipements per vehicle
:white_check_mark: Extras on objects as well as on lights
:white_check_mark: Extras and doors settings will be applied on load
:white_check_mark: Bugfix error on server identifier is nil

2.0.8

:white_check_mark: Ability to control extras and doors of placed light
:white_check_mark: Custom Siren range

2.0.7

:white_check_mark: Complete rework of sirens internal logic
:white_check_mark: Bugfix sirens not turning on for some player when entering scope
:white_check_mark: Bugfix NetworkGetNetworkIdFromEntity
:white_check_mark: Bugfix siren order not the same on every client
:white_check_mark: Owners can write custom UUID function to choose how to save/load configs
:white_check_mark: Better handling of on/off state of lights to prevent desync between lights

2.0.6

:white_check_mark: Save a config as a template
:white_check_mark: Template can be loaded onto any vehicle using the menu or the event TriggerServerEvent("EVC:SpawnTemplate", NetworkGetNetworkIdFromEntity(veh), template_name)
:white_check_mark: Bugfix siren turns off when in other police car

2.0.5

:white_check_mark: Config option to spawn objects / lights only if the player spawning the vehicle is whitelisted
:white_check_mark: Clean up of the configuration code
:white_check_mark: Add config for Side Runners Pack

2.0.4

:white_check_mark: Add an option to enable/disable lights, objects and siren on a vehicle
:white_check_mark: Add export to check if a vehicle has lights : exports.EVC:HasLights(veh)
:white_check_mark: Add export to check if a vehicle has objects : exports.EVC:HasObjects(veh)
:white_check_mark: Add export to check if a vehicle has sirens : exports.EVC:HasSirens(veh)

2.0.3

:white_check_mark: Add new models from D3S’s EVC Starter Pack

2.0.2

:white_check_mark: Add job grade permission support
:white_check_mark: Draw marker on selected object
:white_check_mark: Spawned objects can be invincible
:white_check_mark: Possibility to customize menu appearance
:white_check_mark: Maintain the model selection when spawning an object / light

2.0.1

:white_check_mark: Fix translation and rotation speed sensitivity
:white_check_mark: Auto select just spawned element
:white_check_mark: Check if models exist before adding it to the menu
:white_check_mark: Change some translations
:white_check_mark: Add D3sEvcStarterPack
:white_check_mark: More bugfix GetNetworkObject
:white_check_mark: Enhance object deletion

2.0.0

:white_check_mark: Move to EVC
:white_check_mark: Bugfix GetNetworkObject
:white_check_mark: Add support for placing equipements
:white_check_mark: Complete refactor of menu

1.1.6

:white_check_mark: Ability to save per user + plate (disabled by default)
:white_check_mark: Bugfix save user+plate
:white_check_mark: Add ACE permission support
:white_check_mark: Bugfix whitelist

1.1.5

:white_check_mark: Support for custom sirens (from Walsheyy’s WMServerSirens for instance)

1.1.4

:white_check_mark: Bugfix multiple siren sound on same vehicle

1.1.3

:white_check_mark: Mirror a light position / orientation on another light (for easier placement)
:white_check_mark: Add description to each button

1.1.2

:white_check_mark: Simpler mouse view control
:white_check_mark: Select dynamically rotation speed
:white_check_mark: Select dynamically translation speed
:white_check_mark: Menu stays at same index when switching model

1.1.1

:white_check_mark: Bugfix some spawning issues
:white_check_mark: Bugfix some error in client consoles (no object by ID 0)
:white_check_mark: Added total number of lights

1.1.0

:white_check_mark: Register siren and lights per model and / or per plate (defaults to per plate, option in the config file)
:white_check_mark: Range and sensitivity can be customized for rotation

1.0.0

:white_check_mark: Place a siren and emergency lights on ANY vehicle
:white_check_mark: Light up the lights
:white_check_mark: Turn on the sirens
:white_check_mark: Multiple siren tones
:white_check_mark: Lights can be placed anywhere on the vehicle
:white_check_mark: Lights position and rotation can be saved to a file
:white_check_mark: The saved position and rotation of the lights are automatically loaded when a vehicle spawns (based on the number plate)
:white_check_mark: Uses StateBags (almost no events are sent to the server/client unless when saving a configuration)
:white_check_mark: Remove lights
:white_check_mark: 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