Documentation

Setup

Install and configure Burncars.

#Download

Download zyke_burncars.zip from the latest release.

#Dependencies

Install zyke_lib 2.11.3 or newer and configure its framework and inventory. See Dependencies.

#Resource

Place the resource in your server's resources folder as zyke_burncars. Keep the folder name as it is. There are no database tables to install.

#Items & Images

Copy the matching definitions from zyke_burncars/extras/ox_inventory.lua or zyke_burncars/extras/qb_items.lua into your inventory. Copy the icons from zyke_burncars/extras/images/256/ into the inventory's image directory, or the outlined versions from extras/images/256/artwork/ if your inventory uses that style.

The items are lighter, which is kept, and lighter_fluid, which is used up by each tamper. If your server already has a lighter, for example from Smoking, keep yours and only add lighter_fluid. Change the items in Config.Settings.itemsNeeded.

#Configuration

Edit shared/config.lua. Review the needed items, the interaction mode, and the vehicles that are ignored.

Custom restrictions, such as jobs or cooldowns, belong in CanBurnVehicle in server/can_checks.lua. Rewards, dispatch alerts, or logs belong in OnVehicleBurned in server/hooks.lua.

#Start Order

Start the dependencies before Burncars:

cfg
ensure zyke_lib
ensure zyke_burncars

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

#Verify Gameplay

Carry a lighter and a lighter_fluid, aim at the marker on a parked car's engine cover, and press E. The engine catches fire for every player around you.