Vehicle Shop
Last updated
Last updated
This Advanced Vehicle Shop script allows players to purchase or test-drive vehicles from various shops across the map. Whether youβre running ESX or QBCore, the script auto-detects your framework, supports job-based restrictions, handles custom license plates, spawns preview vehicles, offers test drives, and can store purchased vehicles in a database.
Multi-Shop System: Define multiple shops (e.g., Police Shop, Medic Shop, Public Car Shop) with unique coordinates, NPCs, and categories.
Job & Rank Checks: Restrict vehicle categories to certain job ranks or a range of job grades.
Vehicle Preview & Camera System: Players can preview vehicles in a separate area and rotate or zoom in/out on them.
Test Drive Feature: Let players test a vehicle for a certain time before auto-returning them to the shop.
Custom Plates & Pricing: Generate random or custom plates; enable random color or user-chosen color.
Supports ESX/QBCore: Auto-detection logic for frameworks or set it manually.
Database Storage: Optionally save purchased vehicles in owned_vehicles
(ESX) or player_vehicles
(QBCore).