Tri-Studios

Tri-Rental

Tri-Rental

$9.99

Add to Basket

πŸš— TRI-RENTAL

Premium car rental β€” walk up, pick a car, drive.

https://youtu.be/iyl0adRGxcU


The rental system your server actually deserves

Tri-Rental is a full system: a three-column NUI storefront where players browse a live fleet, pick colors and duration, and confirm a rental with an itemised up-front charge. While they drive, the server tracks every kilometre and fuel percent. When they return, a red-accent bill modal breaks down exactly what they owe β€” base rate, fuel used, damage if any, and mileage overage.

Owners with the rental job can add any GTA vehicle to the fleet at runtime through a separate Fleet Panel, complete with a live preview. Or flip one config flag to run it as a self-serve kiosk with no job required.

Works with Qbox, QBCore, and ESX β€” flip one line in config.lua and you're done.


✨ What makes it different

  • 🎯 Itemised return bill β€” base rate, fuel deduction, damage fee, and mileage overage broken out separately so renters know exactly what they owe. Not a flat-fee guess.

  • πŸ–₯️ Three-column Tier 1 NUI β€” dark glass shell, teal-gradient accents, Poppins font, inline SVG icons. The storefront looks as premium as the rest of your server.

  • πŸ“Š Live server telemetry β€” distance and fuel sampled every 5 seconds (configurable). Accurate billing. No server restarts nullifying trips.

  • πŸ”§ Owner Fleet Panel β€” add any GTA vehicle model to the fleet at runtime, live preview updates as you type. Saved to the database and rehydrated on restart.

  • 🌐 Single config, three frameworks β€” Qbox, QBCore, and ESX share one config.lua. Bridge files stay unencrypted so you can swap frameworks without re-buying.


🧩 What's inside

  • | Section | Features |
  • |---|---|
  • | Storefront | 3-column NUI, vehicle list with Rented By badges, 8 paint swatches, duration slider, mileage display, up-front rental summary |
  • | Rental flow | Server-authoritative: validates cap + availability, debits up-front charge, spawns at lot, applies chosen color, stamps RENT-XXXX plate, warps player to driver seat |
  • | Live telemetry | 5s server tick β€” accumulates KM from coord deltas, reads fuel via ox_fuel / LegacyFuel / cdn-fuel / native statebag fallback, records damage baseline at spawn |
  • | Return & billing | Itemised modal (base + fuel + damage + mileage overage), server-side return-radius check, charge or refund on confirm |
  • | Owner panel | Add Vehicle (model, label, $/hr, category, top speed, image, notes + live preview), View Rentals (all active rentals with time/KM/fuel status dots), Force Return |
  • | Rental papers | rental_papers inventory item stamped with rental metadata β€” auto-detected for ox_inventory or qb-inventory |
  • | Infrastructure | Fleet persistence to tri_rental_fleet table via oxmysql (optional), dark/light theme toggle with KVP persistence, disconnect void handling, multi-lot support |

βš™οΈ Everything is config-driven

  • βœ… Framework: 'qbox' / 'qbcore' / 'esx'
  • βœ… Payment method: cash or bank
  • βœ… Damage deduction flat fee
  • βœ… Mileage overage rate (per KM or MI)
  • βœ… Fuel refund/deduction rate per percent
  • βœ… Duration bounds (min, max, default in hours)
  • βœ… Mileage cap before overage kicks in
  • βœ… Max active rentals per player (or unlimited)
  • βœ… Return radius in meters
  • βœ… Per-vehicle base rate, label, category, display speed, image
  • βœ… 8-swatch color palette (GTA color IDs + hex for swatch display)
  • βœ… KM or MI distance unit β€” affects all telemetry, billing, and displays
  • βœ… Fleet persistence on/off (removes oxmysql dependency when off)
  • βœ… Unattended / kiosk mode (no job required)
  • βœ… Owner job name + minimum grade

πŸš€ Performance

  • β–Έ Server telemetry tick runs per-rental, not globally β€” no overhead when no rentals are active
  • β–Έ NUI uses no backdrop-filter, no scroll overflow, no external CDN calls at runtime
  • β–Έ Bridge files resolve framework once at resource start, not per event
  • β–Έ Fleet state broadcast is delta-only β€” only fires on rent and return, not on a continuous tick

🎁 What you're getting

  • βœ… Full tri-rental resource (Escrow-encrypted β€” config.lua + both bridge files stay editable)
  • βœ… README.md with full install guide, framework notes, fuel tracking setup, rental papers item registration
  • βœ… 3-vehicle starter fleet (sultan, buffalo3, zentorno) β€” replace or extend via config
  • βœ… 8 default paint swatches β€” swap to your server's palette via config
  • βœ… items/rental_papers.png placeholder (256Γ—256) β€” copy into your inventory's web/images/ folder

πŸ”§ Requirements

  • Framework: Qbox (qbx_core) / QBCore (qb-core) / ESX (es_extended)
  • Dependencies: ox_lib Β· ox_target Β· ox_inventory
  • Optional: oxmysql (only required when Config.PersistFleet = true)
  • Vehicle keys: qbx_vehiclekeys (Qbox) Β· qb-vehiclekeys (QBCore) Β· qs-vehiclekeys / wasabi_carlock / generic vehiclekeys:client:SetOwner (ESX) β€” auto-detected
  • Fuel (optional): ox_fuel / LegacyFuel / cdn-fuel β€” or leave blank to use native vehicle statebag
  • FiveM: FXServer build 6116+

πŸ’¬ Support

Join the Tri Studios Discord for setup help, bug reports, and feature requests. Community support for Standard buyers.


Back to category