Set the allowed jobs that can have access to the menu from config:
JobList = { -- List of allowrd jobs from your DB
"mechanic",
"spongicustoms",
"bennys",
},
Car list
Set for each car, the models wich it's possible to swap:
ListedVehicle = {
{
name = "buffalo", -- Original car model
replaceList = { -- List of the possible replace car's models
"buffaloh",
"buffalo2",
"buffalo3",
}
},
{
name = "contender",
replaceList = {
"contenderc",
}
},
{
name = "elegy",
replaceList = {
"elegyrh7",
}
},
Key
To open menu default key is "F6", you can change it from config:
DefaultKey = "f6", --you can change this value for open menu ingame
Garage SQL
This script will work with any type of garage, you need only to match the same fields and tables from config:
DBTable = "owned_vehicles", -- Your DB table name for garage system, to insert and delete cars
DBParking = "Legion", -- Your DB Garage name to store new swapped vehicle
DBVehicleType = "car", -- Your DB Garage vehicle type field
DBPlate = "plate", -- Your DB Garage plate field
DBOwner = "owner", -- Your DB Garage owner chardID field
DBGarageFields = "owner, plate, vehicle, stored, type, parking", --Your DB Garage fields
DBTable = "owned_vehicles", -- Your DB table name for garage system, to insert and delete cars
DBParking = "Legion", -- Your DB Garage name to store new swapped vehicle
DBVehicleType = "car", -- Your DB Garage vehicle type field
DBPlate = "plate", -- Your DB Garage plate field
DBOwner = "owner", -- Your DB Garage owner chardID field
DBGarageFields = "owner, plate, vehicle, in_garage, garage_type, garage_id"
Translations
Chose the local to use in config:
Local = "en", -- it,es,fr,en,de Transaltion
You can change or add translation from config file, just add a code block like that:
You will recieve also esx_context as download from tebex.
Common issue: some players have problems to retrieve esx_context resource, so now we will provide it, if you still have problems open a ticket in our discord