Page cover

βš™οΈConfiguration

This is the configuration that you can give to this script to modify it to your liking

It is important to choose your framework

Config File

Config = {}

Config.Debug = false

Config.Framework = 'qb-core' --- You can change Framework 'esx' or 'qb-core'

Config.DistanceDraw = 20

Config.DrawMarker = true
Config.MarkerType = 23
Config.MarkersSize = {x = 0.4, y = 0.4, z = 0.4}
Config.MarkersColor = {r = 0, g = 255, b = 0, a = 255}

Config.FuelSystem = true
Config.FuelSystemResource = 'LegacyFuel'

Config.DistanceOccupiedSpawn = 5.0


Config.Traget = true --- qb-target and ox-target tested.

Config.TimerPosition = 'bottom-center' --- 'bottom-center', 'top-center', 'left', 'bottom-left', 'top-left', 'right', 'bottom-right', 'top-right'

Config.RentsLocations = {
    {
        ped_model = 'a_m_y_business_03', --- Only if you use target
        target_icon = 'fa-solid fa-car',
        label = 'Rent Vehicle',
        coords = vector4(-239.2683, -988.3106, 28.2882, 268.1364),
        vehicle_spawn = vector4(-235.4658, -987.9895, 28.7584, 160.6611),
        blip_label = 'Rent Vehicles',
        blip_sprite = 289,
        blip_scale = 0.6,
        blip_color = 2
    },

}

Config.VehiclesRent = {
    {
        label = 'T20',
        model = 't20',
        cost = 100
    },
    {
        label = 'Kuruma',
        model = 'kuruma',
        cost = 100
    },
    {
        label = 'Sanchez',
        model = 'sanchez',
        cost = 100
    },
    {
        label = 'BMX',
        model = 'bmx',
        cost = 100
    },
}

Config.Translation = {
    ['rented_vehicle'] = 'Vehicle rented successfully',
    ['no_enough_money'] = 'You don\'t have enough money.',
    ['vehicle_spawn_occupied'] = 'You cannot rent the vehicle because the spawn space is occupied.',
    ['already_rented'] = 'You have already rented one vehicle, you cannot rent two.',
    ['vehicle_returned'] = 'Vehicle Returned'
}

Last updated