Vehicles
Owned vehicles, keys, fuel, garages, shops, rental, mechanics and emergency lights.
ai-vehicles
Owned vehicles of characters, jobs and gangs: stored state and tuning kept, one take-out at a time per vehicle. Answers the qbx_vehicles API, so Qbox scripts see owned vehicles.
ai-vehiclekeys
Keys for owned vehicles (the owner and members of the owning job or gang), keys given by scripts (rentals, job vehicles, robberies), locking with a key fob, lockpicking and hotwiring (with a lockpick or skill check minigame, chosen in the panel). Answers the qbx_vehiclekeys API. Other key systems are supported through AI Core's key layer.
ai-fuel
Fuel use per vehicle class, gas stations at every map pump: take the nozzle, walk to the car, fill up and pay. Electric vehicles charge instead. The fuel level is shared through the vehicle, so any script reads it.
ai-garages
Public garages, job fleet garages and gang garages (shown only to members; a gang garage also keeps its members' own cars), impound lots with a fee. Park and take out with a list of your vehicles; the garage blips and NPCs are set in the panel.
ai-vehicleshop
Vehicle shops with a catalog and a live preview, categories and prices in the panel. A bought vehicle goes to the buyer's garage with new keys.
ai-vehiclesales
Used car lots: a player drives an owned vehicle onto the lot, sets a price and it is parked there for everyone to see. Others browse the listings, take a timed test drive and buy; the seller is paid at once, or at their next login when offline (minus the lot's cut). The vehicle keeps its plate, look and trunk. A vehicle can also be sold straight to the dealer for a share of its catalog price. Lots, spots, prices, the dealer's share, where the lot's cut goes (a job or gang account) and test drive length are set in the panel.
ai-rental
Rental points: a vehicle list with fee and deposit, the renter in the driver seat with keys and a full tank, the deposit back on return (scaled by the vehicle's condition), the rental time in the panel.
ai-mechanic
Mechanic shops (public or job shops with a stash): repair, full tuning with a live preview and prices per part, car washes, a repair kit item.
ai-sirens
Emergency vehicle lights and siren tones, an airhorn, siren control keys for the driver, and ONX lightbars for unmarked vehicles.