T1GER Dealerships
Documentation, troubleshooting and support for T1GER Dealerships resource

INSTALLATION
DEPENDENCIES
START
Extract
t1ger_dealerships.rarand place it into your resource folder.Install the SQL files into your database (⚠️see #SQL for instructions).
Setup
config.lua(⚠️see #CONFIGURATION for instructions).Add
ensure t1ger_dealershipsto your server start config (place it anywhere below the dependency & framework resources).
SQL
Please open SQL folder from the resource and follow the below steps.
Be aware: if you have a vehicles table in your database, use main1.sql otherwise you need to use main2.sql.
Open either
main1.sqlormain2.sqland either execute the queries manually (my preferred way) or import the respective file.Then open
vehicle_display.sqland ensure that themodelandnameof the display vehicles exists in yourvehiclestable. If not then please change it to vehicles that do exists.This is important, otherwise you may encounter errors on startup of the resource.
Open
jobs.sqland execute/import the file. If you change these names/values, makes sure to change/update equivalently in your config in the respective places.This step is optional, but I have a
vehicles.sqlwith default GTA vehicles, including DLC vehicles up to & including Los Santos Tuner DLC. However, this requires that your gameBuild is set to tuner (click here for instructions).
CONFIGURATION
Please go through all configurable options & settings in config.lua and configure them to your server's preferences.
Also please read the comments at the end of each line, for a brief information on what the option does.
It is utmost important that your values for Config.Society in the resource matches your database values!
UTILITIES
MISCELLANEOUS
CHAT COMMANDS
Command
Description
/finance
Command to manage financing.
/registration
Command to view, show or give registration paper.
EXPORTS
Export Function
Description
exports['t1ger_dealerships']:ProduceNumberPlate()
Use this export to generate a plate for a spawned vehicle. It checks against the database to make sure the plate doesn't exists. This is a replacement for exports['esx_vehicleshop']:GeneratePlate()
SCRIPT NOT WORKING / ERRORS
VEHICLE NAME NULL ❓ My vehicles show up as NULL and not by name.
✔️ Please read this post on CFX Forum on how to properly add custom vehicles to your server. If that didn't fix your issue, then find the respectivevehicles.meta file (typically located in your stream folder for the given vehicle). In here you want to set the<gameName> property to match the given vehicle mode in yourvehicles table in database. There is a youtube guide here, I don't understand the language but the video itself should give you an idea.
NO DISPLAY VEHICLES ❓ There are no display vehicles in the showroom.
✔️ Please re-install the resource completely and follow all steps from #INSTALLTION.
AIRCRAFTS, BOATS ETC. ❓ Aircrafts, boats or other custom types doesn't work properly as display?
✔️ By default the resource only supports cars as display vehicles and nothing else. However, aircrafts and other types may as well work. It's not supported and not intended by the resource. To purchase custom types, please use the Config.MenuDealerships.
Last updated