> For the complete documentation index, see [llms.txt](https://savana.gitbook.io/savanascripts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://savana.gitbook.io/savanascripts/scripts/car-sell/config.md).

# Config

{% tabs %}
{% tab title="config.lua" %}

<pre class="language-lua"><code class="lang-lua"><strong>Config = {
</strong>    MYSQL = "oxmysql", -- ghmattimysql, oxmysql, mysql-async
    Framework = 'newesx', -- newesx, oldesx, newqb, oldqb, autodetect
    TestDriveCoords = vector4(-1546.7091, -3021.9956, 13.9520, 234.7390),
    Preview = {
        coords = vector4(-44.1108, -1098.7383, 26.0733, 67.6739),
        CamCoords = vector4(-47.4853, -1103.7303, 28.2661, 325.7011),
    },
    Fuel = 'LegacyFuel', -- exports['LegacyFuel']:SetFuel(veh, 100)
    AddMoneyAccount = 'bank', --bank, cash
    RemoveMoneyAccount = 'bank', --bank, cash
    UseTarget = true, 
    VehicleTable = 'player_vehicles',
    VehicleTableOwnerRow = 'citizenid',
    useJob = true,
    JobName = {
        'police',
        'ambulance',
        'mechanic',
        'cardealer',
        'usedcar',
    },
}

Config.TargetLocations = {
    ["pdm"] = {
        ["label"] = "Used Cars Seller",
        ["coords"] = vector4(-56.8592, -1099.1031, 26.4223, 30.7955),
        ["ped"] = 'a_m_m_soucent_02',
        ["scenario"] = "WORLD_HUMAN_STAND_MOBILE",
        ["radius"] = 1.5,
        ["targetIcon"] = "fas fa-car",
        ["targetLabel"] = "Car Seller",
        ["showblip"] = true,
        ["blipsprite"] = 523,
        ["blipscale"] = 0.8,
        ["blipcolor"] = 0,
    },
}

Config.Class = {
    [0] = "Compacts",
    [1] = "Sedans",
    [2] = "SUVs",
    [3] = "Coupes",
    [4] = "Muscle",
    [5] = "Sports Classics",
    [6] = "Sports",
    [7] = "Super",
    [8] = "Motorcycles",
    [9] = "Off-road",
    [10] = "Industrial",
    [11] = "Utility",
    [12] = "Vans",
    [13] = "Cycles",
    [14] = "Boats",
    [15] = "Helicopters",
    [16] = "Planes",
    [17] = "Service",
    [18] = "Emergency",
    [19] = "Military",
    [20] = "Commercial",
    [21] = "Trains",
    [22] = "Open Wheel",
}

Config.lang = {
    used_car_market = 'SAVANA USED CAR SELL',
    vehicle = 'Vehicles',
    selected_ads = 'SELECTED ADVERTISEMENTS',
    place_an_add = 'Place an add',
    search_by_name = 'Search by name...',
    color = 'Color',
    description = 'Description',
    test_drive = 'Test Drive',
    buy_vehicle = 'Buy Vehicle',
    seat = 'Seat',
    expiration = 'EXPIRATION',
    days = 'Days',
    engine_status = 'Engine Status',
    drift_mode = 'Drift Mod',
    cost = 'Cost',
    car_name = 'Car Name...',
    image_url = 'Image URL...',
    my_vehicles = 'My Vehicles',
    choose_vehicle = 'Choose vehicle',
    rotate =  "Rotate vehicle with: A , D",
    close = "Close",
    profile = 'My Profile',
    overtestdrive = 'Test drive over',
    carinspectover = 'Car inspect over',
    buyveh = 'Car bought',
    notenoughmoney = 'Not enough money',
    notadd= 'Ad could not be added! The vehicle is outside!',
    blacklistcar = 'This vehicle blacklist',
    notvalidphoto = 'Not valid photo'
}

Config.BlacklistCar = { 
    "adder",
    "dominator",
    'drafter'
}

Config.ManuelCarNames = {
    [-114291515] = "Bati",
}

Config.ValidExtensions = {
    [".png"] = true,
    [".gif"] = true,
    [".jpg"] = true,
    ["jpeg"] = true
}


function notify(text, type)
    if Config.Framework == 'newesx' or Config.Framework == 'oldesx' then
        Core.ShowNotification(text, true) -- newesx, oldesx
    elseif Config.Framework == 'newqb' or Config.Framework == 'oldqb' then
        Core.Functions.Notify(text, type)  -- newqb, oldqb
    else
        --your notif 
    end
end
</code></pre>

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://savana.gitbook.io/savanascripts/scripts/car-sell/config.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
