Installation
Follow these steps to install rcore_dealership for the first time.
๐ Prerequisites
Before installing, make sure your server has:
Artifact 4752 or newer
Older artifacts can break the resource.
Database resource
oxmysql is recommended.
Framework
ESX, QBCore or QBox.
๐ ๏ธ First Time Installation
Download the resource
Download rcore_dealership from CFX Portal.
Seed the vehicles
Start the server once. The script creates its database tables automatically.
After the tables are created, run this in the server console:
dealership_seed_vehiclesThis imports every vanilla vehicle into the database and calculates a price for each one. See the Vehicles config for how prices are generated.
Load a map preset (optional)
If you use a supported map, load its dealership preset from the server console. See the Presets page for the available maps and commands.
๐๏ธ Database
rcore_dealership creates its own database tables automatically on startup. You do not need to import an SQL file manually.
Vehicles are not inserted until you run dealership_seed_vehicles from the server console.
๐ Debug
If something does not work, set Config.Debug = true in config.lua to print extra information to the client (F8) and server console. Include those logs when opening a support ticket.
Last updated