Emergency Vehicle Creator

EVC (24€)

Place equipements, sirens and emergency lights on any vehicle

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: Light up the lights
:white_check_mark: Turn on the sirens
:white_check_mark: Multiple siren tones
:white_check_mark: Custom siren range
:white_check_mark: Lights and equipements can be moved and rotated anywhere on the vehicle
:white_check_mark: Lights and equipements position and rotation can be saved to a file
:white_check_mark: Lights and equipements are 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: Remove lights and equipements
:white_check_mark: Automatically disable horn if siren is installed
:white_check_mark: Select dynamically rotation and translation speed
:white_check_mark: Mirror a light or object position / orientation on another light or object (for easier placement)
:white_check_mark: Draw marker on selected object
: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 and QB-Core)
:white_check_mark: Save a config as a template
:white_check_mark: Template can be loaded using the menu
:white_check_mark: Template can be loaded using the event TriggerServerEvent("EVC:SpawnTemplate", NetworkGetNetworkIdFromEntity(veh), template_name)
:white_check_mark: Exports to check if a vehicle has lights exports.EmergencyVehicleCreator.HasLights(veh)
:white_check_mark: Exports to check if a vehicle has objects exports.EmergencyVehicleCreator.HasObjects(veh)
:white_check_mark: Exports to check if a vehicle has sirens exports.EmergencyVehicleCreator.HasSirens(veh)
:warning: Uses FiveM Asset Escrow system
:warning: Requires OneSync (Not working with OneSync Legacy)
:warning: Requires NativeUI
:arrow_right: Compatible with : LightBars by @Munky
:arrow_right: Compatible with : EVC Starter Pack by @D3 (included for FREE in this script)
:arrow_right: Compatible with : D3S Equipement by @D3
:arrow_right: Compatible with : WMServerSirens by @Walsheyy

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.0.7a

: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

2.0.6b

:white_check_mark: Bugfix NetworkGetNetworkIdFromEntity
:white_check_mark: Bugfix siren order not the same on every client

2.0.6a

: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.EmergencyVehicleCreator.HasLights(veh)
:white_check_mark: Add export to check if a vehicle has objects : exports.EmergencyVehicleCreator.HasObjects(veh)
:white_check_mark: Add export to check if a vehicle has sirens : exports.EmergencyVehicleCreator.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.6a

:white_check_mark: Bugfix save user+plate

1.1.6

:white_check_mark: Ability to save per user + plate (disabled by default)

1.1.5b

:white_check_mark: Add ACE permission support

1.1.5a

: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 moved and rotated 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.

Code accessible No but config and whitelist accessible
Subscription based No
Lines (approximately) 800
Requirements OneSync, NativeUI
Support Yes
2 Likes

WHOOP WHOOP! Thats the sound of da police!

Could you possibly add something like menyoo spooner mode where it shows what prop you are going to select like this?

3 Likes

That’s a good idea, I’ll include it in the next release

what is the upside to purchasing this over the free one?

Hi there,

It’s a fair question !
We tried the one offered by Munky, and while it’s a good concept it lacks a lot of polishing and relies heavily on network events.

We took the idea to the next step :

  • Using all the features of NativeUI
  • Whitelisting
  • Customizable commands (using RegisterCommand)
  • Network sync using State Bags which greatly reduce the network load
  • An option to select sirens among a list
  • Made the placement easier with sliders and sensitivties
  • The ability to save the configuration per plate, model or user (on the server so that it is restored when the vehicle spawns again)
  • Customizable translations
  • Equipement placement (with D3S models)
  • It’s still maintained and supported

If you feel like it’s not worth it, please try both (on our server you can try ours) and let us know !

Its possible to stream a custom banner for the menu? I mean because its encrypted and i need client lua to make it on my own… Maybe you can implement it and we can decide in the config? Would be awesome :+1:t2:
@NablaCorporation

Hey, we’ll add it to the next release :slight_smile:

1 Like

New update :

v2.0.2

: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

1 Like

Hey there. Is this script compatible with the LuxartVehicleControl Script?

Hey !

It depends on what you call compatible.
They perform similar functions but with different implementations. The scripts won’t interfere however due to how we handle the lights / sirens, you won’t be able to turn them on using Luxart or vice versa

Our script is more aimed at turning normal vehicles into emergency ones

Having a strange issue.

Some of our marked cars we use for our department have Rx2700 lightbar and some objects and other singles loading on it. 2.0.3. version. Such as one of our 18 chargers. It doesn’t matter who spawns it either. EVEN if they don’t have access to the EVC script it still loads the lights. We have our config set to save by User+Plate. Is it a bug or something? I’ve tried deleting the EVC json file but it keeps getting recreated with various lights in it already set up it seems. Not sure what to do. Its almost like its been saved to that model. Regardless of license plate or user.

Hey,

Could you send the EVC.json here?

When it’s saved as user+plate, the script will check the owner of the entity and the plate. Are your vehicles spawned server side or client side?
I’ll verify that it’s working properly asap

EVC.json (351.3 KB)

For spawning LEO cars we use GitHub - Sc0ttM/SEM_InteractionMenu: Multi Purpose FiveM Interaction Menu

Do you know which one spawns when it shouldn’t ?

From your config, there’s :

  • 4 models : 1231397769, -353587902, -1013450936, -1089302525
  • 3 plates 05GRK687, PDRO2LOW, 28HUM896
  • The rest is identifier + plate

The priority is identifier+plate > plate > model

To properly delete the EVC.json, stop the script, delete the file and then start the script

That menu seems to spawn vehicle client side so I don’t see why there would be an issue

It’s working fine on my end, only the identifier that saved the car is able to spawn it with the attachments

New releases :

v2.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

v2.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

v2.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.EmergencyVehicleCreator.HasLights(veh)
:white_check_mark: Add export to check if a vehicle has objects : exports.EmergencyVehicleCreator.HasObjects(veh)
:white_check_mark: Add export to check if a vehicle has sirens : exports.EmergencyVehicleCreator.HasSirens(veh)

Good evening! I bought EVC a few weeks ago. But when I place a lightbar inside the vehicle (behind window) it’s not visible on the outside. Can I change that?

Hey, EVC is the script to place the lightbars. The lightbars themselves are not created by us.
I invite you to contact the creator of said lightbar :wink:

1 Like

Thanks! I will do that