T1GER Mechanic Job
Documentation, troubleshooting and support for T1GER Dealerships resource
Last updated
Documentation, troubleshooting and support for T1GER Dealerships resource
Last updated
Extractt1ger_mechanicjob.rar
and place it into your resource folder.
Install the SQL file into your database (⚠️see #SQL for instructions).
Setupconfig.lua
(⚠️see #CONFIGURATION for instructions).
Install the required and/or optional dependencies.
Addensure t1ger_mechanicjob
to your server start config (place it anywhere below the dependency & framework resources).
Please open main.sql
and either import or execute the queries into your database to add the items needed for the robberies.
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.
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.
Please note, all these command strings are configurable and can be disabled as well.
These are available exports in the resource - use them as you please and find necessary.
Dependency
Download
Install
Description
ESX Society
Optional
Required to use built-in society functions.
ESX Addon Accounts
Optional
Required to use built-in accounting functions.
progressBars
Optional
Use mine or disable and use yours.
Command
Description
/command <args>
description comes here soon
Export Function
Description
exports['t1ger_mechanicjob']:ResetVehicleHealthParts(plate)
Export to set all health part of a given vehicle by plate to be fixed/default
exports['t1ger_mechanicjob']:SetVehicleHealthPartValue(plate, part, value)
Export to set value of a health part. Put in plate (e.g. "AX 52 12"), health part (e.g. "brakes" or "clutch") and a value (0-100) to be set
exports['t1ger_mechanicjob']:ApplyCrashDamage(vehicleEntity)
Trigger degradation of vehicle health parts (add to e.g. a vehicle-damage-thread)