LuaLab-VehicleShop
LuaLab Vehicle Shop Documentation
LuaLab Vehicle Shop Documentation
Table of Contents
Installation
Configuration
Features
Troubleshooting
Installation
Prerequisites
Latest QBCore Framework
oxmysql
PolyZone
qb-target (optional)
Steps
Download the latest release
Extract to resources folder
Import SQL file:
Configuration
Edit
config.lua
to customize:Shop locations
Test drive settings
Vehicle categories
Job requirements
Marker settings
And more...
Shop Locations
Config.Shops = {
['galeri'] = {
['Type'] = 'car',
['Target'] = {x = -56.13, y = -1096.65, z = 26.42},
-- More settings...
}
}
Usage
For Players
Visit any vehicle shop location
Browse vehicles by category
Search for specific vehicles
Test drive before purchase
Choose vehicle color
Purchase with cash or bank
For Job Owners
Control who can buy vehicles
Set test drive permissions
Manage vehicle stock
Support
Discord: Join Our Server
Documentation: Read More
License
This project is licensed under the MIT License - see the LICENSE file for details
Add to server.cfg:
ensure luaLab-vehicleshop
Test Drive Settings
Config.TestDriveCost = 500
Config.TestDriveTime = 30
Job Requirements
['Job'] = 'cardealer' -- Set to 'none' for public access
Features
Search System
Search by vehicle name
Search by brand
Search by model
Results grouped by category
Color System
Multiple color options
Preview before purchase
Saved with vehicle
Test Drive
Time-limited test drives
Configurable cost
Safe return system
Troubleshooting
Common Issues
Vehicle not spawning
Database errors
Ensure SQL file is imported
Check database credentials
Verify table structure
Job permissions
Confirm job names match your server
Check player job assignment
Verify job grade requirements
Last updated