Vehicle Cargo/BombBay Door Controller

Vehicle Cargo/BombBay Door Controller

Description:

  • This script provides a command to toggle cargo/bombbays doors on specific whitelisted vehicles in FiveM. It’s useful for immersive scenarios where cargo/bombbays doors need to be opened or closed.

Features:

  • Toggle cargo/bombbays doors on whitelisted vehicles.
  • Custumiazble Commands and Binds.
  • Notification system for user feedback.

Installation:

  1. Download the script from the GitHub repository.
  2. Extract the contents into your server resources folder.
  3. Add start vehicle-cargo-doors to your server.cfg file.
  4. Restart your server.

Usage

Command:

  • /cargodoor: Toggle cargo doors on the current vehicle
  • /bombbay: Toggle bomb bay doors on the current vehicle

Configuration

You can customize the script by modifying the cargodoors.lua file. The vehicleWhitelist table contains vehicle models that are allowed to use the cargo door toggle.

|-------------------------------------|----------------------------|
| Code is accessible | Yes |
| Subscription-based | No |
| Lines (approximately) | 80 |
| Requirements | N/A |
| Support | Yes |

4 Likes

looks nice can u make one this also for the bomb bays ?

ive updated the script to also have the bomb control on GitHub

Thx will test it tomorrow was searching for this for years

What exactly does this do? Any pictures or video?

really nice work can you make it work with a key ?

it allows you to open doors 3 and 4 and the same time with a command/keybind (and the bomb bay if the vehicle has one) if added to the whitelist, you can use Y(default bind) to open the “cargo doors” and B(default bind) for bomb
image_2024-01-11_120251449
bays

1 Like

it already works with a custom keybind you can change in settings

1 Like

Awesome thanks :slight_smile:

really nice work

Cargo Door, Bomb Bay, Trunk/Hood Opener Script v2.0 - Update

I’m excited to announce the release of version 2.0 for the Cargo Door, Bomb Bay, Trunk/Hood script! This update brings several enhancements and new features to elevate your GTA V experience.

Changelog:

  • Improved Code: We’ve optimized the code for better performance and readability.
  • Config File: Introducing a comprehensive configuration file for easy customization. Tailor the script to your preferences effortlessly.
  • New Feature: Now you can toggle the trunk and hood simultaneously on supported vehicles, adding a new level of customization.

Key Features:

  • Toggle cargo doors on specific aircraft.
  • Toggle bomb bays on applicable vehicles.
  • Simultaneously open/close trunk and hood with added customization options.

Configuration:

  • Utilize the new config file for easy script customization.
  • Adjust keybinds, whitelist vehicles, and customize notifications to suit your preferences.

Instructions for Use:

  1. Download the updated script.
  2. Replace the old version with the new files.
  3. Explore the enhanced features and customize your GTA V experience.

Visit our GitHub repository for more details.

I appreciate your support and hope you enjoy the new features in Cargo Door, Bomb Bay, Trunk/Hood Opener v2.0!



Credit To SkylineGTRFreak for the military vehicles, JA Designs for the LEO Vehicle

New Update 2.1
Added new config option for for displaying Notifications
Download Here: Github