Setting up
This guide will help you setup your Car Transporter
Smart Vehicle Setup
Setting up this vehicle with Smart Vehicle is easy. First of all, download the vehicle from your Cfx Portal account and install it as a new resource in your server.
Installing ResourcesMake sure you do not rename either the Smart Vehicle resource folder or the vehicle resource folder after downloading from Cfx Portal, as this may prevent the resource from working.
Make sure the resource is named cartransporter for the menu to work correctly.
Spawning in the Car Transporter correctly
Please note that this operates as a trailer, so you'll need a cab (any base game cabs such as hauler is fine) and the trailer, which is tr2.
tr2 - This is the trailer for the Car Transporter
Any vehicle in-game with a hook - such as the hauler
To make the Car Transporter work, you'll then need to connect it to the front vehicle using the hook, by reversing the front vehicle onto it, as seen in the photo below:

After you connect the two vehicles together, you will then be ready to control.

Setting up the vehicle
To begin using the vehicle, firstly spawn in the vehicle and jump in the drivers seat. This will activate automatic setup via Smart Vehicle, installing the props in.
Controlling the vehicle
To begin controlling the vehicle, jump out and walk nearby to side. An on-screen prompt will appear asking you to press X to begin controlling the vehicle.
Controls
Left Shift - Platform Up
Left Control - Platform Down
Arrow Right - Platform Rotate Up
Arrow Left - Platform Rotate Down
Arrow Down - Ramp Extend
Arrow Up - Ramp In
Numpad 8 - Feet Move Down
Numpad 5 - Feet Move Up
Numpad 6 - Ramp In
Numpad 5 - Ramp Out
E - Attach Vehicle (whilst inside a vehicle)
These can be changed in the tr2.lua file.
Vehicle attachment not working?
To attach vehicles to the Car Transporter, you should get in the drivers seat of the vehicle you are wanting to attach and drive it onto the transporter, before pressing E.
If this isn't working, try moving the position of the vehicle slightly forwards/backwards or reangle it, to help our resource detect the transporter below.
If this still isn't working, you may have a third party resource which is interfering with the keybind, so we have provided instructions below on how to change this keybind.
How to change the vehicle attachment keybind?
To change the vehicle attachment keybind, open the config.lua file of the Smart Vehicle resource and find the dynamicAttachmentKey property.

You can find a list of FiveM controls using the link below, allowing you to change this.
Still unable to attach vehicles?
If you are still unable to attach vehicles, open the config.lua file of the Smart Vehicle resource and turn on debugMode towards the top of the file.

Next, restart both resources and attempt to attach a vehicle to the trailer again. This time, open the f8 console in-game and look for any prints.
Take a screenshot of this console and reach out to our team using the link below.
Editing the Smart Vehicle Controls
All Smart Vehicles are controlled by their own data files, such as recovery.lua. These can be found in the Smart Vehicle resource within the vehicles folder.

To change the controls of your relevant vehicle or the speed of various prop movements, you can make the relevant changes within the lua file here.
For more guidance on editing this data lua file, see our documentation for developers below. Please note, this documentation is not designed to be read without prior knowledge of vehicle development.
Information for Developers
Menu
Car Transporter features a working control panel, allowing you to control all elements of the Car Transporter without having to use the keybinds. By default, the menu will work provided you have named the Car Transporter resource "cartransporter" and Smart Vehicle is fully up to date.
The resource is configured to automatically open the menu when you start controlling the vehicle, however this can be disabled in the tr2.lua file within the Smart Vehicle vehicles folder.
menu = {
enabled = true,
resourceName = "cartransporter",
menuControls = {
openAuto = true,
openMenuKey = 311,
-- Export to open menu should be named openMenu()
}
},
Within the menu section you are able to enable/disable the menu, set whether it opens automatically when a player starts controlling and also set the key to open the menu (if you didn't have it open automatically or a player later closes it and wants to reopen).
Editing the menu
To edit the menu, you'll need prior knowledge of HTML/CSS/JS to edit the necessary files. To find these files, open your vehicle resource folder and open the nui folder.

Here you will find the HTML, CSS and JS files which allow you to make changes. For more information on how the menu needs to be setup, see our development documentation on this.
Vehicle Control MenusLast updated
Was this helpful?