Skip to content

Vehicle Control

Buy Here

FiveM Forums Post

YouTube Showcase Video

YouTube Walkthrough Video

INSTALLATION GUIDE

Step 0 - First Steps

1. Download your resource from FiveM's Keymaster.

2. Unzip the cd_vehiclecontrol.zip folder and place this folder in your server's resource folder.

3. Add the resource to your server start config (server.cfg): ensure cd_vehiclecontrol. If you are using a framework, it must be placed anywhere below your framework resource e.g., es_extended, not above.

ensure es_extended
ensure cd_vehiclecontrol

Step 1 - Fxmanifest

Depending on your framework and dependencies, you may need to make some changes to the [cd_vehiclecontrol/fxmanifest.lua]. We have made this easier by commenting on the lines you possibly need to change.

Step 2 - Configure Resource

You MUST read all configurable options inside the [cd_vehiclecontrol/configs/config.lua] file and configure them to suit your server's needs. Please read the ”commented out help text” at the end of each line so you can understand what each config option does.

The most important sections are the options under the Frameworkand Importantsections at the top of the config.lua. Everything else is optional.

NEW: Auto Framework Detect!

Introducing our new 'auto_detect' feature! It automatically identifies your Framework and applies the appropriate default settings.

Step 3 - Configure Key Binds

Before starting this resource on your main/live server, we highly advise you to configure your key binds because this resource uses Fivem's Key Mapping.

Where can I configure my key binds?

You can configure key binds in the Keys and Commands section near the bottom of the [cd_vehiclecontrol/configs/config.lua].

Why do I need to do this?

Well long story short;- once a player has joined your server with this resource running you can no longer force change their key binds for this resource through the config.lua, only they can change it in the in-game pause menu settings. Although it will change for the players who join after you have changed it.

The benefit of this system is that it's much more optimised and players can easily change their key binds on keyboards or controllers. You can also check out the Default Keybinds for this resource.

Step 4 - Vehicle Lock

What is the vehicle lock display?

This clickable button on the UI allows players to lock/unlock their vehicle from the UI itself.

Do you want to use the vehicle lock display?

NO = You can skip this step.

YES = A few small modifications are required; read below for more information.

  1. Enable Config.VehicleLock in the [configs/config.lua] file.
  2. This screenshot shows the 2 functions that must be modified in the [configs/client_customise_me.lua] file. Read the ”commented out help text” for further information.

Do you use cd_garage and its built-in keys feature?


Then you don't need to make any changes. We have already pre-configured this for you.

INFORMATION

Default Key Binds

These keys can be modified and/or disabled in the Keys and Commands section of the [configs/config.lua].

Please make sure you understand how Key Mapping works.

KeyDescription
KOpen the vehicle control's UI.

Chat Commands

These chat commands can be renamed and/or disabled in the Keys and Commands section of the [configs/config.lua].

The exact usage for each command will be displayed in the chat suggestions when using the commands in-game.

CommandDescription
/vehcontrolOpen the vehicle control's UI.

Events

These events are completely optional; you can use them if needed.

Common Issues

Please check out our Troubleshooting Guide before contacting our support.

🔔 Folder Name Make sure the name of the folder is cd_vehiclecontrol.

🔔 Encrypted Files Do not edit the encrypted files in any way.

Some extras such as lightbars not working?

eg., the lightbar extra for example can be toggled off, but when toggled back on it's not visible.

✔️ Sometimes extras such as lightbars will only be visible if the car is fully repaired first.

To fix this you can set Config.Extras.extras_workaround_fix to true in the configs/config.lua.

There is a downside with this though; because to overcome this issue we fully repair the vehicle. After the extra has been enabled we re-aply most of the damage such as broken doors, broken windows and popped tyres. But we are unable to re-apply the minor visual body damage such as dints, bumps or scratches. So some players may abuse this to repair minor visual body damage on their vehicles.

Error Codes

If you see an error code not listed below, please open a script support ticket in the Codesign Discord.

Changelog

Files Changed

Not every update requires replacing the entire folder. To avoid redoing your configs, use the option that applies

KeyMeaning
Full Re-Download RequiredDelete the old folder and replace it with the latest version. Reuse your config.lua unless told otherwise.
Update Specific FilesOnly the files listed below need to be replaced.
Config Update RequiredYour config.lua must be updated for this version.
Requires Auto SQL EnabledEnable Config.AutoInsertSQL in config.lua to apply required database updates.

Skipping Updates

If you’ve skipped previous updates, it’s recommended to update all files to avoid issues.
For example, if you're on v4.0.1, skipped v4.0.2, and are updating to v4.0.3, use the Full Download option.

v1.0.0

Released: 29/06/2022 Update All files

v1.0.1

Released: 26/08/2022 Update All files

Changelog:

Added


  • Added a config option to disable the use of toggling liveries, extras or neons on the ui.
  • Disabled the option to toggle extras when in a helicopter.

v1.0.2

Released: 11/01/2023 Update All Files

Changelog:

Added


  • Job-restricted Usage: You can allow all players to be able to use this part of the UI to toggle extras and liveries or you can restrict it to certain jobs only (you can choose multiple jobs).
  • Location Restricted Usage: You can allow players to be able to use this part of the UI to toggle extras and liveries anywhere on the map or you can restrict it to certain areas around the map (you can choose multiple locations).
  • Note: The 2 usage-restricting features above^^ can work independently of each other or in combination with each other; (for example., only police and ambulance jobs can use the UI to toggle extras but also they can only do this in certain areas around the map.)
  • Bugged Extras (lightbars) Fix 1: If your vehicle is in full health you will now be able to toggle on the bugged extras such as lightbars.
  • Bugged Extras (lightbars) Fix 2: Added a new config option Config.Extras.extras_workaround_fix which will also fix this issue on vehicles that are damaged but do have small side effects #Common Issues.

Edited


  • Changed the default key from N to K as n had some issues with the chat.

v1.0.3

Released: 09/02/2023 Update All Files **Changelog:**

Added


  • Auto Framework Detection - We have added a new feature we are calling 'auto_detect', which will automatically identify your framework resource and framework notifications and apply the appropriate default settings.
  • Added the option to restrict the use of extras and liveries to certain vehicle models.
  • Added a config option to blacklist neon light colours. By default, all cars have neons enabled and default colours, so we will disable the default colours and only allow custom ones.
  • Added a config option to prevent auto seat shuffle.

Updated


  • Restricted passengers from using the extras, liveries, engine toggle, indicators and neons.
  • Added debug prints.

Edited


  • Fixed the "no NUI callback captured" warnings.
  • Fixed some minor bugs with the UI.
  • Fixed the toggle engine being visible even if you don't have keys.

v1.0.4

Released: 25/06/2023 Update All Files **Changelog:**

Added


  • Added the ability to use the vehicle control UI when standing outside the vehicle. However, this does have limited options when compared to sitting inside the vehicle.
  • Added Config.Extras.disable_extras_in_heli to allow servers to choose whether they want to disable extras in helicopters (some servers wanted this disabled due to players removing the helicopter blades).
  • Added a function EngineToggled() to the client_customise_me, which is triggered every time the engine is toggled on/off in a vehicle. This is optional and can be used if needed for compatibility with other resources.
  • Added pre-configured notifications for multiple notification resources.

v1.0.5

Released: 26/06/2023 Update Specific Files
Files Changed
bash
fxmanifest.lua
client/client.lua

Changelog:

Fixed


  • Fixed extras not working in vehicles.

v1.0.6

Released: 18/04/2025 Update Specific Files
Files Changed
bash
fxmanifest.lua
client/client.lua

Changelog:

Added


  • We now grab livery's from the mod kit as well as the standard get livery native.
  • Clicking the livery you currently have enabled will remove it and set the vehicle to have no livery (or the default livery, depending on the vehicle).

v1.0.7

Released: 03/04/2025 Update Specific Files
Files Changed
bash
fxmanifest.lua
client/client.lua
client/functions.lua
HTML (FULL FOLDER)

Changelog:

Added


  • Added support for bomb bay doors.

Hello!