Vehicle Control

Step-by-step installation guide, common issues & solutions, code snippets, error codes, config previews, locales previews, SQL previews, and changelogs; all in 1 easily accessible place.

Buy Here

FiveM Forums Post

YouTube Showcase Video

YouTube Walkthrough Video

Translate

INSTALLATION GUIDE

Step 0 - First Steps

Step 1 - Fxmanifest

Step 2 - Configure Resource

Step 3 - Configure Key Binds

Step 4 - Vehicle Lock

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.

Key
Description

K

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

Command
Description

/vehcontrol

Open the vehicle control's UI.

Events

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

Open the UI

Open the vehicle control's UI.
TriggerEvent('cd_vehiclecontrol:OpenUI')

Close the UI

Close the vehicle control's UI.
TriggerEvent('cd_vehiclecontrol:CloseUI')

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.

N/A

CHANGELOG

Files Changed

Not every update requires you to replace the whole folder. We do this because we understand it's a pain to redo the configs for every update.

  • All Files - This means you should delete your old cd_vehiclecontrol folder, download and add in the latest version, reconfigure the configs folder and restart your server.

  • All Files Except config.lua - This means you should do all of the above (in the All Files section) but additionally make a backup of the config.lua file and replace the new config.lua file with the one you made a backup of.

  • Specific Files - This means you can copy and paste the SPECIFIC new files over the old ones and restart the server.

Update Type

On rare occasions, you are forced to update to the latest version. Mostly due to authentication updates where the old versions will no longer work.

  • Mandatory - This means you MUST update to this new version, or the old versions will no longer work.

  • Optional - This means it's completely your choice whether you wish to update to the latest version. But we do not offer support for old versions for obvious reasons; they are old.

29/06/2022

Files Changed:

Update Type:

Changelog:

Last updated

Was this helpful?