Setting up

This guide will help you setup your Scissor Lift

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 Resources

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

Demonstration Video

Watch a demonstration video of the Scissor Lift below.

Spawning in the Scissor Lift correctly

Please note that this operates as a trailer, so you'll need a cab (any base game cabs such as bison is fine) and the trailer, which is trailersmall.

  • trailersmall - This is the trailer for the Scissor Lift

  • Any vehicle in-game with a hook - such as the Vans category (such as the spawn code bison).

To make the Scissor Lift 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 setup the Scissor Lift with Smart Vehicle.

Next, stay in the drivers seat of the front vehicle and the vehicle will automatically setup.

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.

For the scissor lift, this means you can jump in the front cab vehicle which is connected to the lif and Smart Vehicke will automatically setup the scissor lift trailer.

Working with other vehicles

By default, the Scissor Lift trailer should hook up with some base game vehicles. To make this work with other vehicles, such as addon ones, you'll need to edit the relevant vehicles vehicles.meta file to add the Scissor Lift trailer model (trailersmall) as a compatible trailer.

Why isn't the scissor lift an addon vehicle?

If we made the Scissor Lift into an addon vehicle, you would not be able to hook it up to any cab (front) vehicles without extensive edits to the various vehicles.meta files.

Having the Scissor Lift as a base game trailer (trailersmall) makes more sense for this reason, meaning you are able to use it straight out of the box on a range of different cab vehicles.

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.

For the Scissor Lift, you are also able to operate whilst driving - just press X and then use the controls shown below to operate the lift from the cab vehicle.

Controls

  • X - Control Key (either while driving the cab or outside)

  • A - Lift Down

  • D - Lift Up

  • Arrow Left - Move Cage Left

  • Arrow Right - Move Cage Right

  • Page Up - Extend outriggers

  • Page Down - Retract outriggers

  • Insert - Extend outriggers feet

  • Home - Retract outriggers feet

These can be changed in the trailersmall.lua file.

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

Scissor Lift features a working control panel, allowing you to control all elements of the Scissor Lift without having to use the keybinds. By default, the menu will work provided you have named the Scissor Lift resource "scissorlift" 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 trailersmall.lua file within the Smart Vehicle vehicles folder.

menu = { 
        enabled = true,
        resourceName = "scissorlift",
        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 Menus

Last updated

Was this helpful?