π HT VEHICLE SHOP β Ultimate Dealership & Rotation System
Elevate your FiveM server's vehicle economy with HT VEHICLE SHOP, an immersive, feature-packed, and modern dealership system. Built from the ground up for high performance and smooth roleplay, this resource delivers a showroom experience with dynamic vehicle rotation, private test drives, and dedicated service vehicle catalogs.
π₯ Key Features
π Dynamic Vehicle Rotation System (PDM): Keep your server's car market fresh and engaging. Vehicles in the civilian dealership rotate automatically based on configurable cycles (e.g. every 2 days), while essential starter vehicles can be set to always remain available.
ποΈ Isolated Test Drive System: Players can test drive vehicles without cluttering the showroom or risking vehicle collisions with others. Test drives take place inside a private routing bucket with a sleek live countdown timer and automatic return teleportation.
π¨ Real-Time Vehicle Preview & Color Customizer: Live vehicle previews let buyers inspect models up close, examine performance statistics (Speed & Braking indicators), and pick colors directly from an interactive palette. Service vehicles can have color alterations locked automatically.
π Faction & Emergency Vehicle Showrooms: Integrated support for whitelisted emergency jobs (Police, EMS, Fire, etc.). Authorized players are presented with a clean context menu allowing them to browse either civilian stock or their department's official fleet.
π₯οΈ Sleek, High-End NUI: A responsive, polished HTML/CSS/JS interface featuring category filtering, live search inputs, vehicle stock displays, custom camera controls, and safe purchase confirmation modals.
π― Native ox_target & ox_lib Integration: Interact seamlessly with dealership staff using ox_target on an animated NPC ped, complete with ox_lib context menus, radial interactions, and sphere zones.
πͺ Flexible Economy & Universal Currency: Easily configure your currency name (Cash, Caps, Dollars) and payment handler. Ships with out-of-the-box ox_inventory support, easily editable for any custom economy or inventory setup.
πΎ Custom Database Mapping & Unique Plates: Adaptable to any existing garage or vehicle database schema. Simply set your table name and column keys in the config file. Includes automated generation of unique license plates with custom prefixes.
βοΈ Developer Friendly & Escrow / Open Source Ready
The resource is designed for effortless customization, clean structure, and straightforward installation. Sensitive core logic is neatly decoupled from user-facing configurations:
config/config.lua: Adjust dealership NPC coordinates, map blips, shop interaction zones, test drive duration, rotation cycles, emergency job lists, currency labels, and database column names.
data/vehicles.lua: Add, remove, or modify vehicle models, brands, display names, prices, categories, and stock numbers with clear descriptions for every field.
editable/cl_framework.lua: Fully open client bridge for notifications, framework object retrieval, and player job event listeners (ESX, QBCore, QBox).
editable/sv_framework.lua: Open server bridge managing player queries, wallet balance verification, money deduction, refund fallbacks, and vehicle database insertion.
π Requirements
Frameworks: ESX (es_extended) or QBCore / QBox (qb-core / qbx_core)
Dependencies: ox_lib, ox_target, oxmysql
Supported Inventories: ox_inventory (default, easily customizable for any inventory)