Setting up

This guide will help you setup your Police Water Cannon!

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 this demonstration video showing you how to operate the Police Water Cannon.

Spawn Code

The spawn code for the vehicle is ldcannon for the Non-ELS version and ldcannonels for the ELS version.

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, press X whilst in the drivers seat. You can then use the controls below.

Controls

  • X - Control Key (Whilst Driving)

  • SHIFT - Hold Down - Control Cannon 1

  • CONTROL - Hold Down - Control Cannon 2

  • CAPS LOCK - Hold Down - Control Cannon 3

  • Arrow Up - Move Cannon Up

  • Arrow Down - Move Cannon Down

  • Arrow Left - Move Cannon Left

  • Arrow Right - Move Cannon Right

These controls can be edited in the ldcannon.lua or ldcannonels.lua files.

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

Last updated

Was this helpful?