Setup
Install and configure the vehicle lifts.
#Download
Download
zyke_vehiclelifts.zipfrom the latest release.Download the release .zip, not GitHub's green Code → Download ZIP button. The source code is missing the built files the resource needs.
#Dependencies
Install oxmysql and zyke_lib, and configure the framework provider in
zyke_lib. zyke_sounds is optional, for the lift sounds. See Dependencies.
#Resource
Place the resource in your server's resources folder as
zyke_vehiclelifts. Keep the folder name as it is. There are no items to install.
#Sounds
The lift sounds are bundled in zyke_sounds 0.7.5 and newer. Keep
zyke_soundsup to date and there is nothing to copy. On an olderzyke_sounds, copyzyke_vehiclelifts/extras/sounds/vehicleliftsintozyke_sounds/nui/sounds/and restartzyke_sounds. See Sounds From Other Resources.
#Database
The
zyke_vehicleliftstable is created on the first start, so there is no SQL to import. It holds the lifts placed with the placing tool.
#Start Order
Start your configured providers and their dependencies before Vehicle Lifts, and Vehicle Lifts before any resource that uses its exports:
cfgensure oxmysql ensure zyke_lib ensure zyke_sounds ensure zyke_vehicleliftsWith
interaction = "target", startox_targetorqb-targetbefore Vehicle Lifts as well.
#Place Lifts
Run
/vehicleliftsin game to take out the placing tool, aim at the floor, and place a lift with the left mouse button. It is saved in the database and stands again after a restart. See Commands.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. Lifts that always stand can also go in
shared/lifts.lua.
#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.