ns-rentacar
NullSect Rent a Car for Qbox (QBCore / ESX / standalone supported through bridges).
Features
- Rental agencies with a counter NPC, map blip and target option; as many agencies as you like.
- Catalog with categories, vehicle pictures, rent per length (30 / 60 / 120 min by default) and bank or cash payment.
- The car is spawned by the server with a
RENTxxxxplate, keys (qbx_vehiclekeys / qb-vehiclekeys) and a full tank (ox_fuel, LegacyFuel, cdn-fuel, ps-fuel). - Deposit: refunded on return, minus damage and late fees. Return at any agency (or only where rented).
- Contract screen: plate, live countdown, estimated refund, whether the car is in the return lot.
- Overdue cars are taken back after a while; destroyed cars end the rental.
- In-game agency editor (
/rentaledit): create agencies, place the counter NPC, parking spaces and return lot with a ghost preview, pick each agency's vehicles, rename or close it. No restart needed; config.lua works the same way. - Crash-safe: after a disconnect the car waits for the same character; a restart refunds the deposits on next login.
- Server-authoritative: price, refund, spawn and plate are decided on the server, every request is validated.
- English and Turkish locales, ESC always closes, no idle loops.
Requirements
- oxmysql
- Qbox (recommended), QBCore, ESX legacy or standalone
- Optional: ox_lib, ox_target / qb-target, a vehicle keys and a fuel resource
Quick start
ensure oxmysql
ensure ox_lib
ensure ns-rentacar
add_ace group.admin ns-rentacar.admin allow
See INSTALLATION.md and CONFIGURATION.md.