🗒ī¸Config

Config, Locales = {}, {}

Config.Locale = 'en' -- en

Config.Display = 'helpNotification' -- "okokTextUI" | "ox_target" | "helpNotification"

Config.Notify = "esx" -- Choose between "esx", "okok" or "ox" notify

Config.Currency = 'â‚Ŧ' -- Currency used on the script

Config.UseKMH = false -- Speed system used on the script

Config.MaxRentDays = 7 -- Max days that a vehicle can be rented

Config.OpenKey = 38 -- Key to open the UI

Config.HistoryLimit = 25 -- Limit of the rental history on history tab 

Config.DateFormat = "%d/%m - %H:%M" -- Date format

Config.GarageToSend = 'SanAndreasAvenue' -- Garage to send the rented vehicle

Config.vehicleNameFromFile = true -- If you want to use the vehicle name from the file

Config.VehicleFade = true -- Fade the vehicle when the rent is finished

Config.VehicleFadeTime = 10 -- Time to get the ped out of the vehicle in seconds

Config.BlipSprite = 523 -- The blip itself

Config.BlipDisplay = 4 -- Blip Display

Config.BlipScale = 0.8 -- Blip Scale

Config.BlipColour = 5 -- Blip Colour


Config.Categories = {
    ['coupes'] = 'Coupes',
    ['sedans'] = 'Sedans',
    ['compacts'] = 'Compacts',
    ['muscle'] = 'Muscle',
    ['sportsclassics'] = 'Sports Classics',
    ['sports'] = 'Sports',
    ['super'] = 'Super',
    ['motorcycles'] = 'Motorcycles',
    ['offroad'] = 'Off-Road',
    ['suvs'] = 'SUVs',
    ['vans'] = 'Vans',
}

Config.Locations = {
    {coords = vector3(-41.1, -1675.02, 29.45)},
    --{coords = vector3(1958.83, 4628.03, 41.07)},
}

-- Don't touch in this function
	
function _fx(id)
    if Locales[Config.Locale][id] then
        return Locales[Config.Locale][id]
    else
        print("The locale '"..id.."' doesn't exist!")
    end
end

Last updated