T1GER Dealerships

Documentation, troubleshooting and support for T1GER Dealerships resource

INSTALLATION

DEPENDENCIES

Dependency

Download

Install

Description

esx_society

Optional

Required to use boss-menu, employment, etc.

esx_addonaccounts

Optional

Required to use society accounting/money and so on.

K4MB1 PDM Dealership (FREE)

Optional

Required to use predefined config setup for 2nd dealership.

START

  1. Extractt1ger_dealerships.rar and place it into your resource folder.

  2. Install the SQL files into your database (⚠️see #SQL for instructions).

  3. Setupconfig.lua (⚠️see #CONFIGURATION for instructions).

  4. Addensure t1ger_dealershipsto your server start config (place it anywhere below the dependency & framework resources).

SQL

  1. Open either main1.sql or main2.sql and either execute the queries manually (my preferred way) or import the respective file.

  2. Then open vehicle_display.sql and ensure that the model and name of the display vehicles exists in your vehicles table. If not then please change it to vehicles that do exists.

    This is important, otherwise you may encounter errors on startup of the resource.

  3. Open jobs.sql and execute/import the file. If you change these names/values, makes sure to change/update equivalently in your config in the respective places.

  4. This step is optional, but I have a vehicles.sql with 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

It is utmost important that your values for Config.Society in the resource matches your database values!

UTILITIES

In client/utils.lua there is a file where you can edit some utility functions. In here you can customize notifications, draw texts and many other functions. Please do read it through and make changes to meet your server's preferences.

MISCELLANEOUS

CHAT COMMANDS

Please note, all these command strings are configurable and can be disabled as well.

Command

Description

/finance

Command to manage financing.

/registration

Command to view, show or give registration paper.

EXPORTS

These are available exports in the resource - use them as you please and find necessary.

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

🆘 IF YOU HAVE TRIED YOUR BEST AND NOTHING WORKS, THEN CONTACT US ON OUR OFFICIAL DISCORD: CLICK HERE.

Last updated