Documentation

Setup

Install and configure the vehicle lifts beta.

#Dependencies

Install zyke_lib and configure the framework provider in zyke_lib. See Dependencies.

#Resource

Place the resource in your server's resources folder as zyke_vehiclelifts. There are no items or database tables to install.

#Configuration

Edit shared/config.lua. Review the stop heights, the interaction mode, and the admin command. Use the Config reference for current defaults.

To place a lift, stand on the floor midway between where the posts should go, face the way a car will drive in, and run /vehiclelifts. The lift stands until the server restarts, and the command prints a ready line to the F8 console. Paste it into shared/lifts.lua to keep the lift.

A lift needs 3.7 metres of room across and 3.2 metres of headroom, plus room for a car's roof over its sills at 2.2 metres when it is up at high.

Custom action restrictions belong in client/can_checks.lua and server/can_checks.lua. Enforce trusted restrictions on the server.

#Start Order

Start your configured providers and their dependencies before Vehicle Lifts, and Vehicle Lifts before any resource that uses its exports:

cfg
ensure zyke_lib
ensure zyke_vehiclelifts

With interaction = "target", start ox_target or qb-target before Vehicle Lifts as well.

#Verify Gameplay

Drive a car between the posts of a lift and get out. Aim at the marker on a carriage, set all four pads under the car, then raise it at the power unit. See Working a Lift.